Difference between revisions of "Pkgfile"
(drop Category:Package development)
|Line 1:||Line 1:|
Latest revision as of 10:13, 21 October 2018
pkgfile is a tool for searching files from packages in the official repositories.
Install the package. Alternatively, install the development version with the AUR package.
The pkgfile database can then be synced with:
# pkgfile -u
To search for a package that owns the file
$ pkgfile makepkg
To list all files provided by:
$ pkgfile -l archlinux-keyring
core/archlinux-keyring usr/ core/archlinux-keyring usr/share/ core/archlinux-keyring usr/share/pacman/ core/archlinux-keyring usr/share/pacman/keyrings/ core/archlinux-keyring usr/share/pacman/keyrings/archlinux-revoked core/archlinux-keyring usr/share/pacman/keyrings/archlinux-trusted core/archlinux-keyring usr/share/pacman/keyrings/archlinux.gpg
Latter is comparable to
pacman -Ql (see pacman#Querying package databases), except it applies to remote packages.
Command not found
By default, pkgfile will be updated daily. To change this schedule, edit the unit file.