Install RPM with yum

January 31st, 2010 mysurface Posted in yum | Hits: 306620 | 15 Comments »

I am a Linux user for couple of years, and I am using fedora for quite sometimes too. To install the packages that I need, first I will check them out at my repository using yum.

yum search something

p.s Replace ‘something’ with your keywords.

If I manage to obtain the package list, I can install them like this:

yum install something

But that is not always the case. Sometimes the packages I need is just not exist under my repository, I can only obtain the rpm files from the external site. By installing rpm file using rpm command introduces a problem. I have to resolves the dependencies of the particular rpm myself.

Then, I have to search more rpm files to resolve the dependencies.

But today, I realized that I could install rpm files using yum, and yum resolves the dependencies for me. The command line is quite straight forward too. Let say I wanna install ‘something.i586.rpm’, I can install it with yum like this:

yum install something.i586.rpm

Thanks to yum developers, it save a lots of my time.

15 Responses to “Install RPM with yum”

  1. Thanks for the nice Blog :)

  2. For me this didn’t work as smoothly and I got a “package is not signed” error back from yum. Instead I just used “rpm -ivh x.rpm” and this worked fine.

  3. If the package is not signed, use the following.

    yum –nogpgcheck install foo.rpm

  4. Thanks for the blog. Nice one and excellent examples…

  5. Great post. A few simple lines that solve the question. Thank you. And Thank you Joshua too, another line that helped!

  6. Lucienne Yeropoli Says:

    Hey people, this is a bit random but, I’d like to find an honest electrician in Tucson and I have no idea where to look … I’ve been told this electrician in Tucson is good. These guys are located in Tucson, near my place I can’t find many reviews on them — Holy Ground Electric, 9420 E Golf Links Rd #252, Tucson, AZ 85730, (520) 971-6710

  7. Somen Chanda Says:

    yum update fails to continue due to the unavailability of any of the listed mirrors for a few packages. later on, the missing rpm packages were dwnlded separately. now all the necessary rpm files including the dependencies are ready in /var/cache/yum/
    packages. how YUM can be used now so that it looks for packages locally? localinstall didn’t work.

  8. Ankit Chanda Says:

    Somen Chanda is a criminal and is escaping the process of law in India.Indian cops are searching for him.

  9. is there are any yum replacement ?
    thank you

  10. hi, heres my problem…i dont have any repo configured.when i have my iso mounted on /media/rhel6
    #cd Packages
    #yum localinstall createrepo.rpm
    this ends up with some dependency error
    but when i “double click createrepo.rpm” from GUI it automatically resolves .. is there any trick to do it from cmd line..without setting up repository

  11. Hi colleagues, pleasant post and nice urging commented at this place, I am genuinely enjoying by these.

  12. My partner and I stumbled over here from a different web page and thought I might as
    well check things out. I like what I see so
    i am just following you. Look forward to looking
    at your web page yet again.

  13. I’ve read some just right stuff here. Definitely worth bookmarking ffor revisiting.

    I wonder how a lot attempt you set to make this sort of great informative site.

    Feel free to surf to my webb site – skin care products for oily skin

  14. Inspiring quest there. What happened after? Take care!

    My web page: relieve back (Dollie)

  15. So, that is the proof that it brought me extra revenue. Saving money
    is important for both people doing the traveling and the companies they work for.

    A British e – Bay equivalent that doesn’t have much listed on the site even though it was launched in 2003.

Leave a Reply