how to find which package certain command belongs to on centos?
- by hugemeow
for example i can easily find locate command belongs to mlocate.i386 package.
yum search locate
mlocate.i386 : An utility for finding files by name
[mirror@home /]$ rpm -qa | grep locate
mlocate-0.15-1.el5.1
yum search updatedb
Loaded plugins: fastestmirror, protectbase
0 packages excluded due to repository protections…