zepWay

Essential Arch Linux Package Management Commands

Search for a package with pacman

sudo pacman -Ss query

Search for package with yay

yay -Ss query

Install community package via pacman + update

sudo pacman -Syu package

Install aur/community package

yay package

Remove aur/community package + unnesessary dependencies

yay -Rns package

Or

pacman -Rs package

Update whole system

pacman -Syu

Or

yay

Update after changing mirrors

pacman -Syyu