pacman Command Examples

Arch Linux package manager utility. See also: pacman-sync, pacman-remove, pacman-query, pacman-upgrade, pacman-files, pacman-database, pacman-deptest, pacman-key, pacman-mirrors. For equivalent commands in other package managers, see https://wiki.archlinux.org/title/Pacman/Rosetta. More information: https://manned.org/pacman.8.

sudo pacman -Syu

sudo pacman -S {{package}}

sudo pacman -Rs {{package}}

pacman -F "{{file_name}}"

pacman -Q

pacman -Qe

pacman -Qtdq

sudo pacman -Scc