Pacman Command Reference Guide¶
Essential commands for managing Arch Linux packages with Pacman.
Core Package Management¶
Install software.
Remove (uninstall) software.
Upgrade software (synchronize and update).
Downgrade software (from local cache or package file).
Reinstall software.
Remove software and install another in one transaction (using chaining).
Remove all unneeded packages originally installed as dependencies.
Install build dependencies for a package or PKGBUILD file.
Install debuginfo packages.
Change the reason for an installed package (mark as dependency or explicit).
Search and Information¶
Search for software matching all specified strings.
List packages depending on their relation to the system with additional details.
List packages depending on their relation to the system (locally installed).
Find what package provides the given value (requires pacman -Fy first).
Search for packages matching various criteria (list all packages in a repo).
List groups of installed packages not required by other installed packages (orphans).
Show package changelogs.
Print a list of unresolved dependencies for repositories.
System Updates and Upgrades¶
Check for available package upgrades.
Upgrade or downgrade installed software to the latest available versions.
Prepare the system for an upgrade to a new release (rolling release updates all packages).
Repository and Configuration Management¶
Generate the metadata cache (synchronize package databases).
Remove or expire cached data.
Transactions and History¶
Manage transaction history (viewing log).