Ubuntu searches for the application in a package archive that contains most of the applications required by Ubuntu users. Still, newer versions of the same apps that are not as common are not always available in the official repository. A PPA repository can help with this.
Our system can have numerous repositories installed. The crowded archive of repositories can make the updating process very slow. Therefore, try to keep the required repositories on your system and delete the unwanted or damaged repositories.
Canonicals’ Launchpad platform allows developers to upload their code and publish it. Users can download deb packages and use them to install the app.
We have four ways to remove the PPA repository from the system:
- Remove PPA repository via GUI
- Remove PPA repository via terminal
- Remove PPA repository from source
- Remove PPA repository using purge
We will demonstrate to you how to safely uninstall the PPA repository in Ubuntu 20.04 in this post:
How to list all installed repositories:
To see a list of all the repositories installed on your system, copy the following command and paste it into the terminal:
Alternatively, printing the content of the /etc/apt/sources.list.d is another way to get a list
We have different approaches to remove PPA repositories:
Remove PPA repository via GUI:
An Ubuntu UI feature assists you in handling both the Ubuntu official and PPA repositories.
Type “software & update” on the application search bar:
Go to the “Other Software” tab and pick the wanted PPA from the given list. After that, press “Remove” to get rid of it:
After that, the device will request for authentication. The selected PPA will be deleted from your device after you enter the password.
Remove PPA repository via terminal:
If you want to delete a PPA repository that has been added to your system, use the below-given command syntax:
I want to remove the blender repository from Ubuntu:
Remove PPA from the source list:
You can also delete the PPA from the sources list, where all repositories are kept. To see all the PPAs installed on your device, run the command shown below:
For example, I am removing PPA repository of “blender”:
Remove PPA repository using purge:
All of the approaches we have covered so far only work to eliminate the PPAs from the system. They do not uninstall the application that was installed through that specific PPA.
We will use the PPA purge utility in this approach, which removes the PPA repository and uninstall the application installed with it.
On Ubuntu, the PPA purge utility is not preinstalled. Type the showing command to install it:
Looking forward, consider the command syntax to purge the repository:
We add a PPA repository to install any application, but sometimes we want to remove that PPA repository. When we delete a package, the repository does not go away with it. In this post, we have seen different approaches to remove PPA repositories from Ubuntu 20.04. We can remove repositories through the GUI command line terminal using the sources list. The remove commands only delete the PPA from the system, but the “purge” removes both the application and repository from the system.