« Home | Query to delete rows with duplicate columns. » | Mysql do bulk operations on tables, columns, infor... » | Joomla templating tutorials. » | Google Trends / Result count, of programming langu... » | Excellent video on performance testing with open s... » | Rediscover Web! » | Tools for IE HTTP header debugging » | Developing JavaScript with Chickenfoot » | Cool I am successfull !! in XSS attack!! » | XSS » 

Monday, September 06, 2010 

Installing missing dependencies redhat / fedora / centos

When you try to install a rpm on the fedora/centos. It sometimes says
missing dependencies. Earlier I used to try "Yum install
<dependencyname>" which most of the time does not used to work.
Today I discovered that it is not because they are not available but
they are provided as a bundle with some other package. Hence the
correct way is to do "yum provides <dependencyname>" which would then
list the actual package that you need to install to get this
dependency.

Edit: Even simpler is to do "yum localinstall  " the dependencies are auto installed by yum