LinuxCommandLibrary

pacman-database

Operate on the Arch Linux package database.

TLDR

Mark a package as implicitly installed

$ sudo pacman --database --asdeps [package]
copy


Mark a package as explicitly installed
$ sudo pacman --database --asexplicit [package]
copy


Check that all the package dependencies are installed
$ pacman --database --check
copy


Check the repositories to ensure all specified dependencies are available
$ pacman --database --check --check
copy


Display only error messages
$ pacman --database --check --quiet
copy


Display help
$ pacman --database --help
copy

Copied to clipboard