From ArchWiki
Revision as of 00:29, 18 July 2012 by Karol (talk | contribs) (new pkgfile; pkgtools don't provide this command anymore
Jump to: navigation, search

pkgfile is a tool that tells you which package owns a specific file.

After installing the package, you should update the filelist first:

# pkgfile --update


$ pkgfile makepkg     # Search for a package that contains a file named 'makepkg'.
core/pacman           # Your searched file is in 'pacman' package in [core] repository.