This blog will discuss the procedure of removing PPA repository in Ubuntu 22.04.
Let’s get started!
In Linux-based systems such as Ubuntu 22.04, “add-apt-repository”
In this section, we have compiled the instructions for removing a PPA repository in Ubuntu 22.04 with the help of the “add-apt-repository” command.
Step 1: List PPA repositories
To print out the list of added PPA repositories in Ubuntu 22.04, press “CTRL+ALT+T” to open up the terminal and execute the following “apt policy” command:
As you can see, the last entry is about the “ansible” repository which we have added in our system. We will now delete the mentioned repository by utilizing the “add-apt-repository” command:
To do so, utilize the following command in your Ubuntu 22.04 terminal:
Hit “Enter” to remove the selected “ansible” repository from your system:
Now, let’s check out the GUI method of removing PPA repository in Ubuntu 22.04.
Ubuntu 22.04 also permits its users to remove a specific PPA repository using Ubuntu Software Center. If you prefer to utilize GUI over the terminal, then you are at the right place.
In order to remove a PPA repository using GUI, firstly search for “Software & Updates” in the “Activities” menu and open it:
Your Ubuntu Software Center application will somehow look like this:
Switch to the “Other Software” tab and unmark the repository which you want to remove:
Next, enter your Ubuntu 22.04 system password for authentication purposes:
That’s it. The selected PPA repository is successfully removed from our Ubuntu 22.04:
We have compiled the simplest methods for removing a PPA repository in Ubuntu 22.04.
In Ubuntu 22.04, you can utilize both terminal and GUI for the purpose of removing a PPA repository. For the first method, execute the “add-apt-repository” command in the Ubuntu 22.04 terminal while mentioning the name of the repository that is no longer required. Whereas, in the GUI method, Ubuntu Software Center can help in removing the existing repositories from the system. This blog demonstrated the method to remove the PPA repository in Ubuntu 22.04 using terminal and GUI.
At Canonical, the work of our teams is strongly embedded in the open source principles…
Welcome to the Ubuntu Weekly Newsletter, Issue 873 for the week of December 29, 2024…
Have WiFi troubles on your Ubuntu 24.04 system? Don’t worry, you’re not alone. WiFi problems…
The following is a post from Mark Shuttleworth on the Ubuntu Discourse instance. For more…
I don’t like my prompt, i want to change it. it has my username and…
Introduction: A Fragile Trust The Ruby ecosystem relies heavily on RubyGems.org as the central platform…