![Forrest logo](/images/logo.png)
pacman-query:tldr:a78ae
pacman-query: List only packages and versions that were explicitly installed.
$ pacman --query --explicit
try on your machine
The command "pacman --query --explicit" is used in Arch Linux to display information about explicitly installed packages. Let's break it down:
- "pacman": It is the package manager utility in Arch Linux used to handle package installation, upgrades, and removals.
- "--query": This option is used to search and display information about packages.
- "--explicit": This option limits the search to explicitly installed packages, which are the ones manually installed by the user.
So, the command "pacman --query --explicit" essentially lists all the packages that you have explicitly installed on your system. These are the packages that you specified to be installed, rather than being pulled in as dependencies of other 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.