Ask Your Question

How to install a downloaded rpm file

asked 2018-05-22 07:50:18 -0500

rhandwor52 gravatar image

I have fedora 28 and I downloaded a rpm file The terminal says no such file. It always saves to downloads recent. I need a command to specify where the file is located. It won't accept Downloads or recent.

edit retag flag offensive close merge delete


How did you download? Using a browser? Then, the .rpm file is likely placed into Downloads, unless you specified another location

florian gravatar imageflorian ( 2018-05-22 08:49:24 -0500 )edit

The browser may open the downloaded file with a program. It may even try to open the file with the non-existing program yumex.

villykruse gravatar imagevillykruse ( 2018-05-22 09:16:01 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2018-05-22 08:47:59 -0500

florian gravatar image

updated 2018-05-22 08:55:24 -0500

one of many option to find your .rpm file is:

find ~ -name *.rpm

(you can of course also use the file manager Nautilus or Gnome's search field to locate the .rpm)

best way to install an rpm file is using dnf:


sudo dnf install ~/Downloads/package.rpm

Even better is if you can find the package/program in Fedora's official software repository. That way you don't have to deal with manually downloading and you can "trust" the package (it has been reviewed and is GPG signed, and ...).

So, what's the package you want to install? Have you tried: dnf search package, where package is the name or part of the name of what you are looking for?

edit flag offensive delete link more

answered 2018-05-22 12:04:42 -0500

masteroman gravatar image

If you downloaded via web browser navigate to Downloads option, there you should have "Show directory" or similarly named option which should open up Nautilus/whateverfilemanager in directory where it saved the RPM. Once you have the location of rpm proceed as intended :-)

edit flag offensive delete link more

answered 2018-05-22 12:24:55 -0500

jo_117 gravatar image

use find command to locate the file , then do -- dnf install (file path with name of file ie ur search result of find).

hope it helps

edit flag offensive delete link more

answered 2018-05-22 12:20:13 -0500

rhandwor52 gravatar image

cd /home/name/Downloads/ Enter

rpm -ivh Package name

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-05-22 07:50:18 -0500

Seen: 2,831 times

Last updated: May 22 '18