List Ubuntu Packages

Noah Jul 31, 2026

Ubuntu, a popular Linux distribution, offers a vast repository of packages that can be installed to extend its functionality. These packages range from applications and games to libraries and development tools. Knowing how to list all these packages is essential for managing and optimizing your Ubuntu system.

Ubuntu Cheat Sheet for Beginners
Ubuntu Cheat Sheet for Beginners

In this guide, we'll explore two methods to list all packages in Ubuntu: using the terminal command line and the Synaptic Package Manager graphical interface. We'll also delve into how to filter and search through these lists to find the specific packages you need.

How to List Installed Packages on Ubuntu and Debian
How to List Installed Packages on Ubuntu and Debian

Using the Terminal Command Line

The terminal is a powerful tool for managing Ubuntu packages. It provides several commands to list, search, and manipulate packages.

the ubunt software center screen
the ubunt software center screen

To list all installed packages, you can use the `dpkg` command with the `-l` flag, as shown below:

Listing Installed Packages

What is Ubuntu? Ubuntu Features, Advantages, and Disadvantages
What is Ubuntu? Ubuntu Features, Advantages, and Disadvantages

The following command will list all installed packages along with their version numbers:

dpkg -l

If you want to see only the package names without version numbers, you can use:

Create A List Of Installed Packages And Install Them Later From The List
Create A List Of Installed Packages And Install Them Later From The List

dpkg -L | grep "^{i}" | awk '{print $2}'

For a long list, you might want to pipe the output to `less` for easier navigation:

dpkg -l | less

How to List Installed Packages in Ubuntu 22.04
How to List Installed Packages in Ubuntu 22.04

Searching for Packages

To search for specific packages, you can use the `apt search` command. For example, to search for a package named ' Chandra':

a green screen with the words list files installed from a package in linux on it
a green screen with the words list files installed from a package in linux on it
Ubuntu: list installed packages [Guide]
Ubuntu: list installed packages [Guide]
the list of important linux commands is shown in this diagram, which shows how to use them
the list of important linux commands is shown in this diagram, which shows how to use them
a black and white poster with the names of different types of words on it's side
a black and white poster with the names of different types of words on it's side
How to list services in Ubuntu
How to list services in Ubuntu
a computer screen with several folders and numbers on the bottom right corner, including one that appears to be empty
a computer screen with several folders and numbers on the bottom right corner, including one that appears to be empty
How to Update Ubuntu in the Command Line - The Tech Edvocate
How to Update Ubuntu in the Command Line - The Tech Edvocate

apt search chandra

If you want to see only the package names that match your search query, you can use:

apt search chandra | awk '{print $1}'

Using the Synaptic Package Manager

For those who prefer a graphical interface, Synaptic Package Manager offers an intuitive way to manage Ubuntu packages.

To list all packages using Synaptic, follow these steps:

Listing All Packages with Synaptic

  1. Open Synaptic Package Manager from your application menu.
  2. In the 'Quick Search' bar, type an asterisk (`*`) to match all packages.
  3. The list view will now show all installed, removable, and available packages.

To filter the list, you can use the 'Status' dropdown menu to show only installed, installed (automatic), not installed, or all packages.

With this comprehensive list of methods, you should now be able to efficiently manage and explore the vast world of Ubuntu packages. Happy exploring!