Friday, October 22, 2010

Using Yum Provides

This is a continuation of Using Yum effectively (Part 1) and Using Yum effectively (Part 2)

I have learned a cool command line "yum provides". "yum provides" help you search for the packages that will install either a file or directory. For example

# yum provides bash

bash-3.2-24.el5.x86_64 : The GNU Bourne Again shell (bash) version 3.2
Repo : base
Matched from:

bash-3.2-24.el5.x86_64 : The GNU Bourne Again shell (bash) version 3.1.
Repo : installed
Matched from:
Other : Provides-match: bash

No comments: