Is there a way to search a package using the binary name.
for example I want to find rpm package for command "ls" then it should be coreutils-6.9-10.4.i586 for example.
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
The 'rpm -qf' command should tell you which package owns any installed file.
| |||
feedback
|
...will both dtrt. Also recent versions of "yum" will automatically do a number of file lookups if you do:
| |||
|
feedback
|
|
The yum command "whatprovides" accepts wildcards. If you're searching for the package that provides as certain file or executable and do not know its full path, use "yum whatprovides */filename".
| |||
|
feedback
|