Pkgfile

From ArchWiki
Revision as of 09:31, 18 July 2012 by Kynikos (Talk | contribs) (add installation instructions)

Jump to: navigation, search

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

You can install it with pkgfile from the official repositories or with pkgfile-gitAUR from the Arch User Repository.

After installing the package, you should update the filelist:

# pkgfile --update

Example:

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