1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/pacman-database.md

684 B

pacman --database

Operate on the Arch Linux package database. Modify certain attributes of the installed packages. See also: pacman. More information: https://manned.org/pacman.8.

  • Mark a package as implicitly installed:

sudo pacman -D --asdeps {{package}}

  • Mark a package as explicitly installed:

sudo pacman -D --asexplicit {{package}}

  • Chec[k] that all the package dependencies are installed:

pacman -Dk

  • Chec[k] the sync [D]atabase to ensure all specified dependencies of downloadable packages are available:

pacman -Dkk

  • Chec[k] and display in [q]uiet mode (only error messages are displayed):

pacman -Dkq

  • Display [h]elp:

pacman -Dh