pkgfile

Tool for searching files from packages in the official repositories on arch-based systems.

TLDR

Synchronize the pkgfile database

$ sudo pkgfile --update
copy

Search for a package that owns a specific file

$ pkgfile [filename]
copy

List all files provided by a package

$ pkgfile --list [package_name]
copy

List only files provided by a package located within the bin or sbin directory

$ pkgfile --list --binaries [package_name]
copy

Search for a package that owns a specific file using case-insensitive matching

$ pkgfile --ignorecase [filename]
copy

Search for a package that owns a specific file in the bin or sbin directory

$ pkgfile --binaries [filename]
copy

Search for a package that owns a specific file, displaying the package version

$ pkgfile --verbose [filename]
copy

Search for a package that owns a specific file in a specific repository

$ pkgfile --repo [repository_name] [filename]
copy

Copied to clipboard
realt