I've added multiple third party PPAs and there are bunch of PPAs which I don't need any more. Is there simple way to remove a PPA?
There are multiple ways to remove a PPA.
Option 1 :
Open the Applications menu ( super + space ) and search for
Software and Updates
In the Software and Updates app, select the
Other Software tab and select the desired PPA from the list. Click
Remove to remove it.
In Terminal, use the
--remove flag to remove, similar to how the PPA was added.
-r flag will only remove the said PPA. It will not revert any packages.
sudo add-apt-repository -r ppa:repository-name/ppa
PPAs are stored inside
/etc/apt/sources.list.d. To list all the installed PPAs:
Note the name of PPA you want to remove (e.g.
google-chrome.list), and remove it in Terminal using:
sudo rm -i /etc/apt/sources.list.d/google-chrome.list
In Terminal, use
ppa-purge. It automatically downgrades any packages supplied by the PPA, and then removes the PPA.
sudo apt-get install ppa-purge sudo ppa-purge ppa:repository-name/ppa
You can use
To install open terminal and run:
sudo add-apt-repository ppa:webupd8team/y-ppa-manager sudo apt-get update sudo apt-get install y-ppa-manager
It is GUI tool to remove, purge etc. PPA. It is also used to remove duplicate PPAs and to import missing gpg keys etc.,