LinuxCommandLibrary

pacman-database

Operate on the Arch Linux package database.

TLDR

Display help

$ pacman --database --help
copy


Mark a package as implicitly installed
$ sudo pacman --database --asdeps [package_name]
copy


Mark a package as explicitly installed
$ sudo pacman --database --asexplicit [package_name]
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

Copied to clipboard