Ask Your Question

How to install a group of RPM files I've downloaded?

asked 2014-08-18 02:08:24 -0600

Tiger gravatar image

updated 2017-01-13 15:18:55 -0600

mattdm gravatar image

I've downloaded three RPMs which need to be installed together. When I fire off the command yum localinstall httpd-2.4.6-6.fc20.x86_64.rpm, then the dependencies fedora-logos and httpd-tools are downloaded from the internet, but I already have the files fedora-logos-httpd-21.0.1-1.fc20.noarch and httpd-tools-2.4.6-6.fc20.x86_64 downloaded from the internet. How can I make yum use those instead?

edit retag flag offensive close merge delete


When you do yum localinstall httpd-2.4***.x86_64.rpm, it will download all the dependency packages fedora-logos-httpd****.fc20.noarch, httpd-tools-***.x86_64 and install them as well. That is expected!

anishjp gravatar imageanishjp ( 2014-08-18 03:04:54 -0600 )edit

the problem is solved :) thnkq oll :) @hello@kdg1955

Tiger gravatar imageTiger ( 2014-08-19 11:55:34 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-08-18 06:18:35 -0600

kdg1955 gravatar image

updated 2014-08-18 06:20:35 -0600

If you need extra packages that are not in your folder:

$> sudo yum localinstall *.rpm

this will download and install the package that are not in your folder in addition to the package in your folder.

If there are undisered RPM in your folder, list only the desired package (instead of '*.rpm')

$> sudo yum localinstall httpd-2.4.6-6.fc20.x86_64.rpm fedora-logos-httpd-21.0.1-1.fc20.noarch.rpm httpd-tools-2.4.6-6.fc20.x86_64.rpm

edit flag offensive delete link more


localinstall isn't necessary, only use: yum install path/of/rpm

davidva gravatar imagedavidva ( 2014-08-18 23:48:09 -0600 )edit

answered 2014-08-18 12:13:40 -0600

monreal gravatar image

When using dnf, you can just "dnf install *.rpm" (no need for "localinstall" here).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-08-18 02:08:24 -0600

Seen: 48,540 times

Last updated: Jan 13 '17