pacman (archlinux)

pacman is the official package manager of archlinux. it distributes packages in binary. pacman has up-to-date packages and usually the lates upstream versions of an application. pacman is written in C.

usage

install a package:

pacman -S <package-name>

install packages that share similar patterns in their names:

pacman -S plasma-{desktop,mediacenter,nm}

remove package:

pacman -R <package-name>

remove package and its dependencies (which are not required by any other installed package):

pacman -Rs <package-name>

upgrade all packages:

pacman -Syu

search for packages:

pacman -Ss <string-1>

search for installed packages:

pacman -Qs <string-1>