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.

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

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

pacman -Dk

pacman -Dkk

pacman -Dkq

pacman -Dh