volinact.com → mean meaning show → list countries verbs → apt list installed packages
Posted on by Emmanuel Deleon

Apt list installed packages

Terminal window displaying the output of apt list installed packages

Apt list installed packages is a command in Debian-based Linux distributions that displays all software currently installed on the system. It queries the Advanced Package Tool (APT) to generate a list of installed applications.

How it works

The command connects to APT's package database, which tracks all installed software. When you run apt list --installed, APT scans this database and returns a formatted list of all installed packages.

Main types of package listings

APT offers several listing options beyond just installed packages:

Common use cases

System administrators use this command to audit software installations, verify successful installations, and identify outdated packages. Developers use it to check dependencies before compiling software.

Misconceptions

Many users confuse apt list with dpkg -l, but they produce different outputs. APT commands show repository-managed packages, while dpkg shows all installed packages including those manually compiled.

Example usage

To list all installed packages, open a terminal and enter:

apt list --installed

This will display output similar to:

Package Version
curl 7.68.0-1ubuntu2.14
git 1:2.25.1-1ubuntu3.5
nginx 1.18.0-0ubuntu14.4

For more information on using APT commands effectively, consult the official APT documentation.


Related Posts