Bootstrap FreeKB - YUM - Determine the package that provides a file
YUM - Determine the package that provides a file

Updated:   |  YUM articles

The yum provides command attempts to determine the package(s) that a file belongs to. In this example, the /etc/vimrc file belongs to the vim-common 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

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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