pacman "cheat sheet" Allin Cottrell, 2017-12-05 # list installed packages with their versions pacman -Q # list installed packages without their version info pacman -Qq # sync (install, reinstall or upgrade) from repository pacman -S # install (upgrade) package using local pacman -U # update all installed packages, as needed pacman -Syu # remove an installed package pacman -R # get listing of files owned by pacman -Ql # list "orphaned" packages (unused dependencies) pacman -Qtdq # remove all "orphaned" packages pacman -Rns $(pacman -Qtdq) # query repository for packages providing pacman -Ss