![Forrest logo](/images/logo.png)
apt:tldr:03a07
apt: List all packages.
$ apt list
try on your machine
The "apt list" command is used in Linux systems that use the Advanced Packaging Tool (APT). It is used to list the available packages in the system's software repositories.
When you run "apt list" without any arguments, it will display a list of all the packages available for installation, including their names, versions, and a brief description. This can be a very long list if you have many repositories enabled.
You can also use various options and filters with "apt list" to narrow down the displayed results. For example:
- "apt list --installed" will only show the packages that are currently installed on your system.
- "apt list --upgradable" will list the packages that have available updates.
- "apt list
" will display information about a specific package. - "apt list --
" will show packages specific to a particular architecture, such as "amd64" or "arm64".
Overall, the "apt list" command is a useful tool to explore the available packages in your Linux distribution's repositories, check installed and upgradable packages, and gather information about specific packages.
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.