Install Rpm Package Openfiler

Openfiler is moving to CentOS. The current version of Openfiler uses the Conary package management system, a system developed by rPath, Inc., a technology outfit based in Raleigh, North Carolina. The development of that version was at a standstill for a very long time, that at one point, users thought that development had ceased. Install RPM File With RPM Command. For comparison, we can also use the rpm command with the -i option to install a specified RPM package.

  1. Rpm Package Download
  2. Install Rpm Package Linux
  3. Install Rpm Package
  4. Install Rpm Package In Mint
  5. How To Install Rpm Package
  6. Fedora Install Rpm Package
  7. Linux Install Rpm Package

RPM files exist to make the software installation and upgrading process easier. They allow us to simply use an RPM file to install a software package, and when combined with package managers such as Yum or DNF we will also get all required dependencies downloaded and installed easily.

Not all distributions of Linux support RPM. Generally RPM files are used in RHEL based distributions such as CentOS and Fedora to name a couple, however it has also been ported elsewhere. If you find that your distribution does not support installing an RPM file, you may need to look at other options such as .deb files in Ubuntu/Debian.

If you’ve downloaded an RPM file from the Internet, there are a couple of tools you can use to install it. Personally I prefer to use Yum/DNF, these act like a front-end to the RPM command and will maintain an up to date database of package dependencies.

Install

Install RPM File With Yum

Normally when installing a package from a repository with the yum command, you would run ‘yum install httpd’ and it will simply download the required RPM file from a configured repository. We can instead use ‘yum install file.rpm’ and specify a local RPM file that we have to install.

Rpm Package Download

We can also use ‘yum localinstall file.rpm’, however the man page notes that this is maintained for legacy reasons only and suggests using install instead.

Install Rpm Package Linux

Not only is the httpd RPM file that we specified installed, but so are the listed additional dependencies that the httpd package needs to work properly.

Install Rpm Package

Note that unlike the RPM command covered later, yum automatically resolves the dependencies for us and will download and install any additional packages from our configured repositories.

If you’d like further information on using yum, see our 25 yum command examples here.

Install RPM File With DNF

Install Rpm Package In Mint

DNF is the next version of Yum, it’s another package manager for working with RPM files. DNF syntax is fairly similar to the Yum command, as shown below we can install our RPM file in the same way.

As of Fedora 22 DNF has replaced Yum, so that’s useful to be aware of although it has not yet made its way into RHEL/CentOS where Yum is still the king.

If you’d like further information on using dnf, see our 25 dnf command examples here.

How To Install Rpm Package

Install RPM File With RPM Command

For comparison, we can also use the rpm command with the -i option to install a specified RPM package. This is not however capable of automatically resolving the dependencies for us, as shown by the errors below we would have to go out and manually download these additional packages, which then themselves may have further package dependencies. This situation is commonly referred to as dependency hell, and is something package managers help us avoid.

How To Download RPM Files

Rpm package download

Usually RPM files will be downloaded from some random page on the Internet, however it’s possible to also download an RPM file from a repository directly using the yumdownloader command. Simply specify the package that you want to download after yumdownloader and it will download a copy of the RPM file that is used to install the package into the current working directory.

This can be a useful way to quickly download a RPM package file using yum to copy elsewhere, perhaps to a Linux server that is in an isolated network without Internet access for example.

Fedora Install Rpm Package

Summary

Linux Install Rpm Package

We have covered three different methods for installing RPM files in Linux here. While using Yum/DNF are the preferred options for the reasons mentioned such as automatic dependency resolution, we can also use the rpm command with the -i option to install an RPM file in supported Linux distributions.