pacman
Arch Linux package manager utility. tldr-pages
On Linux
Linux
Arch Linux package manager utility. For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
Synchronize and update all packages
sudo pacman -SyuIdentifyInstall a new package
sudo pacman -S packageIdentifyRemove a package and its dependencies
sudo pacman -Rs packageIdentifySearch (s) the package database for a regex or keyword
pacman -Ss "search_pattern"IdentifySearch the database for packages containing a specific File
pacman -F "file_name"IdentifyList only the explicitly installed packages and versions
pacman -QeIdentifyList orphan packages (installed as dependencies but not actually required by any package)
pacman -QtdqIdentifyEmpty the entire pacman cache
sudo pacman -SccIdentify