FreeKB - yum provides (determine the package that provides a file)
Linux Commands - yum provides (determine the package that provides a file)

The yum provides command attempts to determine the package that a file belongs to. In this example, the /etc/vimrc file belongs to the vim package.

yum provides /etc/vimrc
. . .
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fileplanet.com
 * centos-sclo-rh: repo1.ash.innoscale.net
 * centos-sclo-sclo: mirror.us-midwest-1.nexcess.net
 * extras: linux-mirrors.fnal.gov
 * updates: mirror.atlanticmetro.net
2:vim-common-7.4.629-6.el7.x86_64 : The common files needed by any version of the VIM editor
Repo        : base
Matched from:
Filename    : /etc/vimrc



2:vim-common-7.4.629-6.el7.x86_64 : The common files needed by any version of the VIM editor
Repo        : @base
Matched from:
Filename    : /etc/vimrc

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 2f514 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |