pkgfile
Search files from packages in the official repositories on Arch-based systems. tldr-pages
On Linux
Linux
Synchronize the pkgfile database
sudo pkgfile --updateIdentifySearch for a package that owns a specific file
pkgfile filenameIdentifyList all files provided by a package
pkgfile --list packageIdentifyList executables provided by a package
pkgfile --list --binaries packageIdentifySearch for a package that owns a specific file using case-insensitive matching
pkgfile --ignorecase filenameIdentifySearch for a package that owns a specific file in the bin or sbin directory
pkgfile --binaries filenameIdentifySearch for a package that owns a specific file, displaying the package version
pkgfile --verbose filenameIdentifySearch for a package that owns a specific file in a specific repository
pkgfile --repo repository_name filenameIdentify