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.
Previously I have written about how useful public cloud storage can be when starting a…
This is Part 2 of the "Karafka to Async Journey" series. Part 1 covered WaterDrop's…
For many software teams, documentation is written after features are built and design decisions have…
With the release of the FIPS 140-3 certified cryptographic modules for Ubuntu 22.04 LTS, Canonical…
Open source libraries are repositories of code that developers can use and, depending on the…
Last year, we had the opportunity to speak at Regent’s UX Conference (Regent’s University London’s…