Arch Linux package manager utility. See also
pkgfile
. More information: pacman(8) — Arch manual pages.
- Update the package database:
sudo pacman --files --refresh
- Find the package that owns a specific file:
pacman --files {{filename}}
- Find the package that owns a specific file, using a regular expression:
pacman --files --regex '{{regular_expression}}'
- List only the package names:
pacman --files --quiet {{filename}}
- List the files owned by a specific package:
pacman --files --list {{package_name}}
- List only the absolute path to the files:
pacman --query --list --quiet {{package_name}}
- Display help:
pacman --files --help