Install RPM with yum

January 31st, 2010 mysurface Posted in yum | Hits: 351268 | 30 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.

30 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.

  16. By providing contact information, it ensures the customer that you are a real business.
    Therefore, rising businesses on the Internet go to firms
    that provide so as to improve their money making firms on the
    Internet. Here is a key point: as you make your web pages be sure to include your address on every page, perhaps in the footer so it is natural looking.

  17. Hello, I think your website might be having browser compatibility issues.
    When I look at your blog site in Chrome, it looks fine but
    when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!
    Other then that, excellent blog!

    Have a look at my page … home inspection home inspector

  18. A nanny who flies and pulls things out of an empty bag.
    The Chief Marketing Officer at King is Alex Dale and he said
    that the reason that the game is called a saga is because it never ends.
    Game game trainers feature level guide and methods like where to find a supervisor or a specific rare product within the video game.

  19. Jeremy Gislason is a leading expert on membership sites,
    marketing and online business. Go to recovery menu, turn off then hold the R button and enable 2 again. Still another striking component is the rod’s portability.

  20. Hey there! This is kind of off topic but I need some help from an established blog.
    Is it very hard to set up your own blog? I’m not very techincal but I can figure things out
    pretty fast. I’m thinking about making my own but
    I’m not sure where to start. Do you have any points
    or suggestions? Appreciate it

  21. Aw, this was an extremely good post. Taking the time and actual effort to create
    a very good article… but what can I say… I procrastinate
    a lot and never manage to get nearly anything done.

    Here is my blog … healthy snack foods (

  22. Si quieres experiencia con delicioso servicio y calidad, no vaciles en ponerte en contacto conmigo.
    Atractiva, dulce y muy cariñosa. Te atenderé sin prisas
    en mi piso de Elche con mucho placer. Soy muy cariñosa.

  23. Für Kleidung wenn Sie benötigen: Sleepers, Kleider, Socken, Baumwollhosen, Strampler, Zutano Booties (nur diejenigen,
    die auf zu bleiben) . Bis jetzt haben unsere
    Produkte in viele Länder wie Europa ghd exportiert exportiert,
    USA, Australien, Neuseeland, Deutschland, Westeuropa, usw..
    Denn manchmal diese Clips nicht, und selbst
    wenn es noch nicht, manchmal die Paci am Ende der es in Kontakt mit etwas, das notwendig wäre Desinfektion vor
    der Rückkehr in den Mund Ihres Kindes kommt .

  24. Simply want to say your article is as surprising.

    The clarity for your put up is simply spectacular and that i can suppose you are knowledgeable in this subject.
    Fine with your permission let me to grasp your feed to keep up
    to date with approaching post. Thanks a million and please carry on the rewarding work.

  25. Hello, yeah this article is truly fastidious and I have learned lot of things from it concerning blogging.

  26. What’s up, after reading this awesome piece of writing i am as well happy
    to share my experience here with friends.

    Feel free to surf to mmy web site hair growth cycle

  27. If you wish for to get much from this article then you have to apply these
    techniques to your won web site.

  28. Can I just say what a relief to find someone that actually knows what they are talking about on the net.
    You actually realize how to bring a problem to light and make it important.
    A lot more people need to check this out and understand this side of
    the story. I was surprised that you’re not more popular since you definitely possess the gift.

  29. I’m gone to tell my little brother, that he should also pay
    a quick visit this weblog on regular basis to get updated
    from latest news.

  30. to use rpm and to use of yum
    3.why use of rpm
    4.why use of yum
    5.tell me full meaning
    6.what is best of rpm and yum
    send me my mail id
    please send me………………………..

Leave a Reply