Arch Package Managers - ionathanch/ionathanch.github.io GitHub Wiki
These must be run with sudo
.
Command | Description |
---|---|
pacman -Syu [package] |
Sync, refresh, upgrade, install |
pacman -Rsu [package] |
Remove recursively unneeded package |
pacman -Qs [string] |
Search local database |
pacman -Ss [string] |
Search sync database |
pacman -Qett |
List explicitly-installed, non-dependency packages |
pacman -Qttdq | pacman -Rs - |
Remove recursively all (optional) orphan dependencies quietly |
pacman -Scc |
Clean cache |
These should not be run with sudo
.
Command | Description |
---|---|
pamac search (-a) [string] |
Search Manjaro repo (and AUR) |
pamac install [package] |
Install package from Manjaro repo |
pamac build [package] |
Install package from AUR |
pamac upgrade (-a) |
Upgrade packages installed from Manjaro repo (and AUR) |
pamac remove [package] |
Uninstall package |
pamac remove -o |
Uninstall orphaned packages |
pamac clean -k [n] |
Clean cache (and keep n latest versions) |
These should not be run with sudo
.
Command | Description |
---|---|
yay |
Upgrade packages |
yay [package] |
Upgrade and install package |
yay -Rns [package] |
Remove package, configs, unused dependencies |
yay -Yc |
Remove unused dependencies |
yay -Sc |
Clean cache |