Forrest logo
back to the apt tool

apt:tldr:3157c

apt: List installed packages.
$ apt list --installed
try on your machine

The apt list --installed command is used in Linux-based operating systems like Debian and Ubuntu to display a list of currently installed packages. It provides a comprehensive overview of software packages that have been installed on the system using the Advanced Package Tool (APT), a package management system.

When executed, the command will generate a list that includes the package names, version numbers, and other relevant information for each installed package. This can be helpful for administrators or users who want to quickly review the software packages installed on their system.

For example, running apt list --installed might produce an output that looks like this:

package1/installed,now 1.2.3 amd64 [installed,automatic]
package2/installed,now 4.5.6 i386 [installed,automatic]
package3/installed,now 7.8.9 all [installed]

In this example, three packages (package1, package2, and package3) are listed, along with their versions and architecture. The [installed] or [installed,automatic] tags indicate whether the package was manually installed or installed automatically as a dependency of another package.

Overall, apt list --installed is a convenient command for getting an overview of the software packages that are currently installed on a Linux system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the apt tool