Searching...
Tuesday, June 20, 2017

Remove PPA Elementary OS Loki 0.4.1

June 20, 2017


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.
software and update
Option 2:
In Terminal, use the -r or --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
Option 3:
PPAs are stored inside /etc/apt/sources.list.d. To list all the installed PPAs:
ls /etc/apt/sources.list.d
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
Option 4:
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

2 comments: