list-installed-packages-1

know how list installed packages in Ubuntu? It is one of the aspects that every user should know, and there are different alternatives to do so.

How to list installed packages in Ubuntu?

List installed packages in your Ubuntu operating system, it is very simple, and the best thing is that there are different ways to do it. For this reason, they are mentioned below:

View installed software using Ubuntu Software

In case you don't want to use the terminal or the command line, there is also another option for you to see all the applications installed on the system. All you have to do is open the option "Software", and there select the tab »Installed» to bring up the list of applications.

list-installed-packages-1

List of applications with the Synaptic package manager

Another simple option is to use the Synaptic package manager. You must enter the option "State". Then, different alternatives appear, so select »Installed» and ready.

See all Ubuntu logs

Generally, in GNU/Linux operating systems, there is a record of all installed applications, and of the different processes that are carried out. You have the option to make a query, and thus, know the information.

There are two ways that you can use to see the registry information, it can be with dpkg, which is detailed in this section, or with apt, which is explained later.

If you want to perform the query you have to use the grep command, in this way, only the packages that have been installed are shown. Also, you have the option to view the dpkg log just by opening the terminal by pressing Ctrl + Alt + T, and typing: grep »install» /var/log/dpkg.log

Also, you have the option to query the installed files using the apt command. All you have to do is open the terminal with the Ctrl + Alt +Tm keys and type: grep »install» /var/log/apt/history.log

list-installed-packages-2

See the list of packages installed with apt

The apt-get command does not have a direct option that allows you to list the packages you install. However, if apt has this alternative, you just have to open the terminal by pressing Ctrl + Alt + T, and type: apt lit –installed

In this way, the list of packages installed using the apt command appears, and the .deb files, although you can also see those that have been installed as a dependency. For this reason, all the installed applications, libraries and different packages are shown, which, many times, you did not even know of their existence.

However, using the previous steps, all the installed packages appear, and it is a very large list, for this reason, it is recommended to use the grep command, so that only the ones you want to see are filtered. You do this by typing the following: apt list –installed | grep program-name.

View the list of packages installed with dpkg

If you want to list all the packages you have installed on your operating system, another alternative is to use the dpkg command. All you have to do is open the terminal with Ctrl + Alt + T, and type the following: dpkg-query -1, or also, dpkg -1.

You also have the option to filter any of the previous commands with grep, in this way, you can search for a specific package, all you have to add is the following: | grep program-name

List installed packages with Snap

The first step is to open the terminal by pressing Ctrl + Alt + T, and use the command: snap list. This list also shows you apps that belong to a verified publisher via a green checkmark.

list-installed-packages-3

List installed Flatpak packages

If you want to list the Flatpak packages you've installed on your system, the first thing you need to do is open Terminal by pressing Ctrl + Alt + T, typing: flatpak list.

Despite the fact that there are other alternatives so that you can find out the list of packages that you install in Ubuntu, the ones mentioned in this article are the best known, because the process is super simple, which makes them the favorites of users.