Install RPM with yum
January 31st, 2010 mysurface Posted in yum | Hits: 250138 | 10 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.







March 23rd, 2010 at 4:31 pm
Thanks for the nice Blog :)
August 31st, 2010 at 11:17 pm
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.
September 22nd, 2010 at 5:24 am
If the package is not signed, use the following.
yum –nogpgcheck install foo.rpm
January 10th, 2011 at 12:37 pm
Thanks for the blog. Nice one and excellent examples…
February 27th, 2011 at 12:22 am
Great post. A few simple lines that solve the question. Thank you. And Thank you Joshua too, another line that helped!
August 29th, 2011 at 8:48 am
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
October 24th, 2011 at 2:59 pm
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.
October 26th, 2011 at 5:35 pm
Somen Chanda is a criminal and is escaping the process of law in India.Indian cops are searching for him.
February 10th, 2013 at 9:20 am
is there are any yum replacement ?
thank you
April 22nd, 2013 at 11:26 pm
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