|
Pacman | apt(-get) | rpm/yum | Portage | |
---|---|---|---|---|
install package | pacman -S PACKAGE | apt install PACKAGE | yum install PACKAGE | |
remove package | pacman -Rd PACKAGE | apt remove PACKAGE | yum --nodeps remove PACKAGE | |
remove package+dependencies | pacman -R PACKAGE | apt autoremove PACKAGE | yum remove PACKAGE | |
update software database | pacman -Syy | apt update | ||
show updatable packages | pacman -Qu | |||
delete orphans | pacman -Rsn $(pacman -Qdtq) | apt autoremove | ||
show orphans | pacman -Qdt |