In all Linux distributions, such as Ubuntu, the system consists of multiple repositories and PPA. These repositories and PPAs contain different packages/files and the information about the installed software and tools on the system. Finding the list of all those installed repositories and PPAs won’t be possible without a terminal command.
If you want to list the installed PPAs and repositories on the Ubuntu system, you should follow this guide.
However, before moving towards getting the list of repositories and PPAs, it’s better to know about repositories and PPAs.
All Ubuntu distributions have four kinds of repositories which are:
PPAs (Personal Package archive) are a special kind of repository, by using PPAs, the software/tools which are not present in the official repository of Ubuntu can also be installed. PPA’s are beneficial when a new version of a certain software/package is installed and that version is not immediately available in the official repository then to install that latest package, PPA can be used.
To get the list of all installed repositories and PPAs on Ubuntu, there are multiple commands which can be used:
The first command to display the list of installed repositories and PPA’s in Ubuntu is by using the grep command that displays the sources.list file, which contains the installed repositories and PPAs on the Ubuntu system.
By using this command, a complete list of installed repositories and PPAs in your Ubuntu system will appear on the terminal:
The other command on our list is the apt-cache command, this command is better as it displays more information about the installed repositories:
In the output, you can see that the list of installed repositories is displayed with the detailed information about each repository.
This command is very similar to the previous command, just a little shorter, run the simple apt policy command to display the list of installed repositories and PPAs on Ubuntu:
The Ubuntu users can also check the list of installed repositories and PPAs on the Ubuntu system through “Software and Update” tool that can be open from the Application Menu.
However, through GUI, you won’t be able to view a detailed list of all installed Repositories and PPAs on the Ubuntu system.
There are three useful terminal commands to get the list of installed repositories and PPAs on Ubuntu. All these commands are helpful to get a detailed list of installed repositories and PPAs. There is also a GUI-based method called “Software & Update” tool, which can be opened from the Application menu to get the list of installed repositories and PPAs on Ubuntu. However, this method fails to provide detailed information of install repositories and PPAs compared to terminal commands.
Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12…
Welcome to the Ubuntu Weekly Newsletter, Issue 878 for the week of February 2 –…
At Canonical, we firmly believe that delivering an outstanding, customer-centric support experience is impossible without…
I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written…
Now I want to share how to install WordPress on ubuntu 20.04 server. WordPress is…
Now I want to share the DNS server installation process on your Ubuntu 20.04 server.…