Jan
14
2009
How to Find Out Which Package Installs a Certain Command Using yum
Posted by alex in InsightsTo find out how to install a certain command or utility via yum you can use list or the “whatprovides” option as shown below.
This is an example of using yum with the list option to find any packages with “send” in the name.
yum list *SEND*
Using this command will provide results like the below.
[root@server ~]# yum list *SEND* Loading "installonlyn" plugin Setting up repositories Reading repository metadata in from local files Available Packages mgetty-sendfax.x86_64 1.1.33-9.fc6 base nautilus-sendto.x86_64 0.7-5.fc6 base nautilus-sendto-bluetooth.x86_64 0.7-5.fc6 base perl-Email-Send.noarch 2.192-2.el5.rf rpmforge perl-Jabber-SimpleSend.noarch 0.03-1.el5.rf rpmforge perl-Mail-SendVarious.noarch 0.3-1.el5.rf rpmforge perl-Mail-Sender.noarch 0.8.16-1.el5.rf rpmforge perl-Mail-Sendmail.noarch 0.79-1.2.el5.rf rpmforge perl-Net-SenderBase.noarch 1.01-1.el5.rf rpmforge perl-X11-SendEvent.noarch 1.3-1.2.el5.rf rpmforge sendip.x86_64 2.5-2.el5.rf rpmforge sendmail.x86_64 8.13.8-2.el5 base sendmail-cf.x86_64 8.13.8-2.el5 base sendmail-devel.x86_64 8.13.8-2.el5 base sendmail-devel.i386 8.13.8-2.el5 base sendmail-doc.x86_64 8.13.8-2.el5 base
If you are unable to provide the command or utility you are looking for using the list option then try whatprovides as shown below when trying to install iostat.
Tags: command, iostat, list, sendmail, sysstat, utility, whatprovides, yum








Entries (RSS)