We have installed so many applications in our system after some time we even don’t know which package we have installed in our Ubuntu or Debian based system.
Now you want to know which application or package you have installed in your system then follows the step.
There are many ways to list down the installed package which we will discuss below.
- List out Application Using Software Center
- List out Package using apt command
- List out Package using dpkg command
- List out Package using flatpak command
- List out Package using a snap command
List out Installed Application Using Software Center
If you want to check the installed application or package in a simple way without using terminal command then use the software center.
First, open the software center, then click on Installed Tab Over there you will see all the installed applications’ names.
There are some cons to use Software Center like you will not able to find the dependencies, libraries, or packages details but the pro is that you can update the application from Software Center.
List out Package using apt command
The above method has the limitation but the apt list command will show all the libraries or dependency information.
We have you use the apt command most of the time to install applications from the official repository.
An apt command not only installs the application It can do many tasks like config, remove, list, and other useful tasks.
Now in this guide, we will see how to leverage apt command to list out all the packages and applications.
So, To list out the installed application and package name pass command
$ apt list --installed
[email protected]:~$ apt list --installed Listing... Done accountsservice/groovy,now 0.6.55-0ubuntu13.3pop0 amd64 [installed,automatic] acl/groovy,now 2.2.53-8 amd64 [installed] acpi-support/groovy,now 0.143 amd64 [installed] acpid/groovy,now 1:2.0.32-1ubuntu1 amd64 [installed] adb/groovy,now 1:8.1.0+r23-8 amd64 [installed] adduser/groovy,groovy,now 3.118ubuntu2 all [installed] adwaita-icon-theme/groovy,groovy,now 3.38.0-1ubuntu1 all [installed] alsa-base/groovy,groovy,now 1.0.25+dfsg-0ubuntu5 all [installed] alsa-topology-conf/groovy,groovy,now 1.2.3-1 all [installed] alsa-ucm-conf/groovy-updates,groovy-updates,now 1.2.2-1ubuntu5.1 all [installed] alsa-utils/groovy,now 1.2.3-1ubuntu1 amd64 [installed] amd64-microcode/groovy,now 3.20191218.1ubuntu1 amd64 [installed,automatic] anacron/groovy,now 2.3-29 amd64 [installed] android-libadb/groovy,now 1:8.1.0+r23-8 amd64 [installed,automatic] android-libbase/groovy,now 1:8.1.0+r23-8 amd64 [installed,automatic] android-libboringssl/groovy,now 8.1.0+r23-3 amd64 [installed,automatic] android-libcrypto-utils/groovy,now 1:8.1.0+r23-8 amd64 [installed,automatic] android-libcutils/groovy,now 1:8.1.0+r23-8 amd64 [installed,automatic] android-liblog/groovy,now 1:8.1.0+r23-8 amd64 [installed,automatic] android-sdk-platform-tools-common/groovy,groovy,now 27.0.0+12 all [installed,automatic]
The output will be long it depends upon installed libraries but As you can see the output lists out all the application and package information. Now you can easily check whether you are missing or remove any package.
How to Filter package using grep command
When we use the apt command to list out all the packages and libraries we get a large no of data and it hard to find the specific package.
To resolve this we can use the grep command with apt, We will see one example using the grep command.
apt list --installed | grep program_name
$ apt list cron --installed Listing... Done cron/groovy,now 3.0pl1-136ubuntu1 amd64 [installed]
List out Package using dpkg command
When we use the apt command to list out all the packages and libraries we get a large no of data and it hard to find the specific package because of alignment.
If you want the alternative of apt list command then use the dpkg query command.
We will illustrate dpkg-query command to find all the packages and libraries installed in your ubuntu based system.
$ dpkg-query -l or $ dpkg --list
When you pass the dpkg-query -l or dpkg –list command will show all the installed libraries and package but if you want check specific package then use grep command with dpkg.
$ dpkg-query -l | grep cron
It’s better to use dpkg command over apt command.
List out Package using flatpak and snap command
Now many packages are built in flatpak and snap, Because of easy installation and many other supports.
When you use apt or dpkg command to list application, then it will not show the application which is installed from flatpak or snap.
In this case you have to type this simple command to get list of installed application
For snap packages use below command
For flatpak packages use below command
If you have installed number of program using above utilty then use grep command to filter package name like
Use grep command for flatpak
$ flatpak list | grep application
Use grep command for Snap package
$ snap list | grep application
Now you know how to list all the applications, libraries, or packages using Software Center, apt list — installed,dpkg-query and for flatpak and snap we have used flatpak list, snap list.
To filter out a specific package name then use the grep command. We hope so you able to list out the package. If you need any help then comment down below.