pacman

Update local pacman databases

# pacman -Syu

Search repository for packages

$ pacman -Ss <pkg-name>

What package does <foo> come from?

# pacman -Fy
$ pacman -F <foo>

What depends on package <foo>?

$ pacman -Qi <foo>

Look at “Required By”

Uninstall package along with its dependencies

$ pacman -Rcs <package>