Personal Package Archive (PPA) is one way installing/upgrading software in Ubuntu. I have written a post about how to add and install software from ppa on Ubuntu. In this tutorial, I’ll explain how to remove a PPA with also removing/downgrading the package installed from it.
There’re several way removing a PPA from Ubuntu repository:
- 1. Using add repository command with –remove parameter, it removes the PPA from Ubuntu repository but it doesn’t remove/downgrade any package that you installed from the PPA.
Open terminal from the dash home or press Ctrl+Alt+T, execute this to remove ppa, change the ppa name ppa:someppa/ppa
sudo add-apt-repository --remove ppa:someppa/ppa
- 2. Head to Software Center -> Edit -> Software Sources… -> Other Software tab, un-tick any to disable ppa, highlight and click Remove to remove ppa without removing/downgrading any package that installed from the ppa.
- 3. Remove ppa include downgrading installed packages to the version available in the official Ubuntu repositories using ppa-purge
sudo apt-get install ppa-purge
Then purge any ppa via:
sudo ppa-purge ppa:someppa/ppa