Linux – Arch Linux: ‘whatprovides’ equivalent option for pacman

arch linuxlinuxpackage-management

I've come from Fedora and am trying out Arch Linux.

I was wondering if the packager 'pacman' contains functionality like that provided by 'yum whatprovides':

provides or whatprovides
              Is  used  to  find out which package provides some feature or file. Just use a specific name or a file-
              glob-syntax wildcards to list the packages available or installed that provide that feature or file.

Best Answer

I believe pkgfile or pkgfile -s are what you're looking for. For further reference I will direct you to here. The link will show you what other commands you might need a translation for. I hope it helps.

Related Question