packages

komovo · website-7c8b549745-qfbjf

package manager — pacman

bash# update all packages
sudo pacman -Syu

# install a package
sudo pacman -S package-name

# search repositories
pacman -Ss keyword

# list installed packages
pacman -Q

# remove a package
sudo pacman -Rs package-name

# remove orphaned dependencies
sudo pacman -Rns $(pacman -Qtdq)

aur & third-party repos

Arch Linux users have access to the Arch User Repository (AUR) via helpers like yay or paru. Other distributions have similar community repos — check your distro's documentation.

bash# install from AUR (with yay)
yay -S package-name

# search AUR
yay -Ss keyword

# update all (including AUR)
yay -Syu

# clean build cache
yay -Sc

pip (python)

bash# install
pip install package

# freeze (list installed)
pip freeze

# install from requirements
pip install -r requirements.txt

# upgrade all
pip list --outdated | tail -n +3 | awk '{{print $1}}' | \
  xargs -n1 pip install -U