pacman:tldr:0e8f8
pacman: List only the explicitly installed packages and versions.
$ pacman -Qe
try on your machine
The command pacman -Qe
is used in Arch Linux or any Arch-based distributions to list all the explicitly installed packages on the system.
Here's a breakdown of the command:
pacman
: It is the package manager used in Arch Linux.-Q
: This option is used to query the package database.e
: Thee
option stands for explicitly installed packages.
When you run pacman -Qe
, it will display a list of all the packages that are explicitly installed on your system. These packages are the ones you have intentionally installed rather than being automatically installed as dependencies.
Knowing the explicitly installed packages can be useful, especially when you want to create backups, replicate them on another system, or identify all the packages you may need to reinstall if you are reinstalling the operating 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.