pacman Snippets
# Search a packagepacman -Ss <package>
# Install a package if it is not already installedpacman -S --needed <package>
# Remove a package(s) and all dependencies and configuration filespacman -Rns <package>
# Upgrade Packages, install packages which have an older version already installedsudo pacman -Syu --noconfirm## -Sy : update and install## -u : upgrade## --noconfirm : accept all prompts
# List installed packagespacman -Q
# Clean up local cachespacman -Sc
Arch User Repository (AUR) Helpers
Section titled “Arch User Repository (AUR) Helpers”# Build from manually downloaded AUR repositorymakepkg -si
# Interactively search and install <target>paru <target>
# Alias for paru -Syuparu
# Install target packageparu -S <target>
# Upgrade AUR packagesparu -Sua
# Print available AUR updates.paru -Qua
# Download the PKGBUILD and related files of <target>.paru -G <target>
# Print the PKGBUILD of <target>paru -Gp <target>
# Print the AUR comments of <target>paru -Gc <target>
See Also
Section titled “See Also”Resources
Section titled “Resources”- See more usage at pacman/Rosetta which translates common package manager commands from pacman to other commands
- AUR Helpers - archlinux wiki