How To Display List of Installed Packages In Debian, Ubuntu And Linux Mint?

How To Display List of Installed Packages In Debian, Ubuntu And Linux Mint?


This post was last updated on August 1st, 2020 at 04:06 pm

One of the important tasks of a system administrator is to analyze, install or remove packages on a system. Advanced package tool or apt is a package manager that is used in Debian, Ubuntu and related distributions for the installation, removal of packages.

In this article, we will use the same tool to list the softwares installed on a system. We will also check whether a specific package is installed or not.

List all the packages

To list all the packages in your system use the given command. It includes both installed and packages available for installation. These packages will get displayed from the apt package index. Now open your terminal and then execute the following command –

apt list

Or use the below command to make it easier to read the output on screen –

apt list | more

You can also use dpkg which is a low-level tool used in debian based systems for the installation and removal of packages. We can use it to list all the packages. Use the following command to list packages using dpkg –

dpkg --list


dpkg --list | more

List Installed Packages only

Now to display packages that are currently installed in your system use --installed option with the apt list command. Use the command as it is given below –

apt list --installed


apt list --installed | more

To display the list of installed packages by using dpkg, use the following command –

dpkg-query -l

This will display the package with its version, description and such other information.


dpkg-query -l | more

Find the information about a specific package

To know that a specific package is installed in your system or not. Use the following command in your terminal –

apt list -a package_name

For example-

apt list -a python

Since python is installed in my system so it is showing installed in the above image.

apt list -a nginx

If a package is not installed in your system then this command will display the package information as given in the above image.

Similarly, You can use the dpkg to display the information about a package

dpkg -l pattern

For example –

dpkg -l python


ii – Indicates that the package is installed in the system.


Now by following the above steps, you can analyze the packages that are installed on your system. If you have a query or suggestion regarding this topic you can write to us in the comments below.

Previous How To Create A Shared Directory Between Host And Guest In KVM?
Next What Is A Virtual Terminal In Linux/Unix?

About author

You might also like

System Admin 0 Comments

Logical Volume Manager(LVM)

This post was last updated on August 3rd, 2020 at 02:12 pmLVM simply stands for “Logical Volume Manager”. It is a tool for logical volume management. LVM is an advanced

Linux Topics 0 Comments

How To Add/Remove New User In Linux/Unix

This post was last updated on August 3rd, 2020 at 03:09 pmIn this article, we will learn to add or remove users and giving them required permissions in Linux or

Linux Topics 3 Comments

How to Create a USB Bootable Ubuntu Live Disk

This post was last updated on November 3rd, 2020 at 05:35 pmLooking to make a Live Ubuntu USB disk? then you have arrived at the right place. Here I will


No Comments Yet!

You can be first to comment this post!

Leave a Reply