onsdag 28 januari 2015

LINUX - Remove PPA Repositories Via Command Line

You probably know that starting with Ubuntu Karmic

you can add a Launchpad PPA using a simple command:
sudo add-apt-repository ppa:THE_PPA
Where "THE_PPA" is the Personal Package Archive you want to add, for instance ubuntu-mozilla-daily, etc.To also remove a PPA via command line, there is a .deb file (download link at the end of the post)
you can install, which will allow you to remove a PPA using this command:
sudo ppa-purge ppa:<repository-name>/<subdirectory>

For instance, to remove the ubuntu-mozilla-daily PPA:
sudo ppa-purge ppa:ubuntu-mozilla-daily/ppa

If the PPA is a subdirectory of another PPA:
sudo ppa-purge ppa:tualatrix/gloobus

(this is just an example)
This script will remove the PPA repository, removes the packages you installed from that PPA and install the packages from the official Ubuntu repositories.

Download the PPA-PURGE package.

[via Anxurweb]

Inga kommentarer: