Installing an RPM on Fedora 28

Today I detail the command line arguments needed to install an RPM on Fedora 28.

Installing an RPM on Fedora 28

Once you have downloaded an RPM file you can easily install it using the following command.

rpm -Uhv <the rpm file>

The full details of the command flags are:

  • U – This tells RPM to install the package or upgrade it if it is already installed
  • h – Prints hash marks as packages install. This provides a nice progress bar on the command line
  • v – Verbose output so you can watch what it is doing, combines nicely with h.

Using this command set will install the package or upgrade if it is a newer version. In addition, using h and v combine well to provide progress on the package install.

Once finished this will have installed your package.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.