ArchLinux package managers: pacman, pamac, yay
pacman
Vendor: https://wiki.archlinux.org/title/Pacman#Other_Usage>
Set pacman mirrors
Update database
Clear cache
Upgrade all installed packages
List installed packages
Search package by name
Install package
Remove package
Search file in package
To list all packages no longer required as dependencies (orphans):
pamac
Install pamac
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/libpamac-aur.git
cd libpamac-aur
makepkg -si
cd ..
git clone https://aur.archlinux.org/pamac-aur.git
cd pamac-aur
makepkg -si
Clear cache
Get list of files in package
yay
Install
Install package
Remove package