Arch Linux
Package manager
Use pacman to find, install, update, and remove software on Arch Linux.
pacman in a sentence
Arch Linux uses pacman to manage software from its repositories. It keeps the system current and resolves dependencies during each transaction.
The commands you’ll use most
Update Arch Linux
Update the package databases and all installed packages together.
sh
sudo pacman -SyuFind a package
Search the repositories by name or description.
sh
pacman -Ss package-namepacman info
See a package’s details before installing it.
sh
pacman -Si package-nameInstall a package
Install a package by its name.
sh
sudo pacman -S package-nameRemove a package
Remove a package and unused dependencies.
sh
sudo pacman -Rns package-name