如何在CentOS上找到某些命令属于哪个软件包?
例如,我可以轻松地找到属于mlocate.i386包的locate命令。 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 =========================================== Matched: updatedb =========================================== mlocate.i386 : An utility for finding files by name 但是要找到哪个package free命令属于以下部分并不容易: …