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 (
package3) are listed, along with their versions and architecture. The
[installed,automatic] tags indicate whether the package was manually installed or installed automatically as a dependency of another package.
apt list --installed is a convenient command for getting an overview of the software packages that are currently installed on a Linux system.