A Personal Package Archives (PPA) is a Ubuntu way to allow independent developers and contributors to build and distribute any custom packages as a third-party APT repository via Launchpad. If you are a Ubuntu user, chances are that you have added some popular third-party PPA repositories to your Ubuntu system. If you want to remove any pre-configured PPA repository, here is how to do it.
Suppose you have a third-party PPA repository named "ppa:webapps/preview" added on your Ubuntu system, as follows.
If you want to delete a PPA repository alone, run the following command.
Note that the above command does not touch any packages installed or upgraded from the PPA itself.
If you want to delete a PPA repository as well as all packages installed/upgraded from the PPA, you can use ppa-purge command.
To install ppa-purge package:
To remove a PPA repository and all its packages from the command line:
These methods can be useful when you identify and purge broken PPA repositories after distro upgrade.
Subscribe to Ask Xmodulo
Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.
Support Xmodulo
Did you find this tutorial helpful? Then please be generous and support Xmodulo!

Subscribe to Ask Xmodulo
Support Xmodulo