It is very easy to keep on adding new third party PPA repositories over a period of time until one day you realize you have installed too many of them and you aren’t using them anymore. In this article, I will show you some ways of getting rid of these unwanted PPAs.
One method I prefer to use is by using the ppa-purge command in the Terminal. The coolest function of this is it automatically downgrades any packages supplied by the PPA, and then removes the PPA. Launch Terminal and type the following commands one-at-a-time.
sudo apt-get install ppa-purge sudo ppa-purge ppa:repository-name/ppa
Another method that can be used in cases where you want to particularly remove a PPA which you know is by using a remove flag. Launch Terminal and use the -r to remove. Note that as the function says it only removes the package and will not revert it. The generic format of use of command is as follows:
sudo add-apt-repository -r ppa:repository-name/ppa
For instance you want to remove VLC media player the command is:
sudo add-apt-repository -r ppa:vlc-stable/ppa
Of course there is a GUI way too just incase you prefer that way.
Launch “Applications” and type “Software & Updates” and hit enter.
Click “Other Software” tab.
Scroll through the list and uncheck the boxes of the unwanted PPA repositories.