knowledge/technology/applications/package managers/Pacman.md
2023-12-04 11:02:23 +01:00

931 B

obj
application

Pacman

Pacman is the default Arch Linux Package Manager

Usage

Search for a package:

pacman -Ss <package>...

Update the local package base and upgrade all out-of-date packages:

pacman -Suy

Install a package:

pacman -S <package>...

Uninstall a package:

pacman -R <package>...

Uninstall a package and its depedencies, removing all new orphans:

pacman -Rcs <package>...

Get information about package:

pacman -Si <package>...

Install a package from local package file (.tar.xz):

pacman -U <file>

List explicitly installed packages:

pacman -Qe

List orphan packages (installed as dependencies and not required anymore):

pacman -Qdt

List installed packages and versions:

pacman -Q

Empty the entire pacman cache:

pacman -Scc