How to List Installed Packages on Ubuntu?

Knowing how to check the software installed on your system is essential for package management, troubleshooting, and system auditing. This article provides a quick guide on how to list all installed packages on an Ubuntu system using various command-line tools. You will learn how to use the standard apt and dpkg package managers, filter the results to find specific software, and list packages installed via modern formats like Snap and Flatpak.

Using the APT Package Manager

The Advanced Package Tool (apt) is the default and most user-friendly way to manage software on Ubuntu. You can utilize it to view your installed applications quickly.

apt list --installed
apt list --installed | grep package_name

Using the DPKG Tool

For a lower-level approach, the Debian Package Manager (dpkg) interacts directly with .deb files and provides a clean, easily readable list.

dpkg -l
dpkg -l | grep '^ii'

Listing Snap and Flatpak Packages

Modern versions of Ubuntu often use alternative package formats like Snap and Flatpak alongside traditional Debian packages. These must be queried using their respective tools.

snap list
flatpak list