1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 17:17:56 +01:00
tldr/pages/linux/pacman.md
2016-01-08 09:38:59 +01:00

546 B

pacman

Arch Linux package manager utility.

  • Synchronize and update all packages:

pacman -Syu

  • Install a new package:

pacman -S package-name

  • Remove a package and its dependencies:

pacman -Rs package-name

  • Search the package database for a keyword:

pacman -Ss icon theme

  • List installed packages and versions:

pacman -Q

  • List only the explicitly installed packages and versions:

pacman -Qe

  • Find which package owns a certain file:

pacman -Qo filename

  • Empty package cache to free up space:

pacman -Scc