commands.sh

pacman --files

linux

Query the local files database. See also: `pacman`, `pkgfile`.

More info →

Examples (6)

Update the package database

Find the package that owns a specific [F]ile

pacman -F filename

Find the package that owns a specific [F]ile, using a `rege[x]`

pacman -Fx 'regex'

List only the package names

pacman -Fq filename

[l]ist the [F]iles owned by a specific package

pacman -Fl package

Display [h]elp

pacman -Fh
made by @shridhargupta | data from tldr-pages