If you are a user of this blog, you will have noticed that there are many programs and functions that can be obtained thanks to a PPA repository. This is easy to add and use, but sometimes we no longer need them or they become obsolete, in this case it is best to remove them from the system so that it does not create problems when updating the distribution or in another process. To do this we have two methods to do it, one easy and one difficult.
The easy method you have probably seen before, ideal for beginners and for those who want very graphic methods. We need to go to System, then to Administration and Software Sources, or simply look in the Software Origins dash. In this program we go to the “Third Party Software” tab and here we mark or unmark the PPA repositories that we need or want. This method is simple and once we want to have it again, we just have to mark the PPA repository again.
The terminal method removes the PPA repository in question from the system
But there is another method, a more difficult for beginners and more radical, that is, once we eliminate it we will not have it in the system to redial but we will have to add. This method is done using a terminal in which we write:
sudo add-apt-repository --remove ppa:nombre-ppa/ppa
So to show an example, deleting the webupd8 repository would be something like this
sudo add-apt-repository --remove ppa:nilarimogard/webupd8
that will completely remove the PPA system repository, Which could also be useful for those who want to remove the PPA repository from your system using the easy method. However, as we said, it completely removes the repository so that you will have to type the add-apt-repository command again and accept the key.