1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 06:43:59 +02:00
tldr/pages/linux/pacman-database.md
You Gao 5138b9ba19
pacman-d: add alias page; pacman-database: update page (#15177)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2024-12-26 23:50:44 +05:30

688 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 help:

pacman -D --help