



However, there might be scenarios when the RPM package for a certain software might not be officially available in the repository, in which case we can use YUM or DNF to install it as explained above. The usual way to install packages is to install them directly from the repository. Yes, it is possible to install a single - already downloaded file - via YUM yum install RPM-FILENAME.rpm from the directory you have the package downloaded to. And your application will begin installing on your Linux desktop. Double-click on the downloaded file to load its contents in the Fedora Software center. In this article, we learned how to install an RPM package in CentOS, RHEL, and Fedora. Download the RPM package of the app you want to install. This package manager works exactly the same as YUM, and you can simply replace YUM with DNF in the commands explained previously to install a package. Note that, in the newer CentOS version, an updated version of YUM is available, called DNF (short for Dandified YUM). However, then it would not install the dependencies (shown in the screenshots above) automatically, and the user would need to download and install them manually. Some packages could also be installed with the rpm file. $ sudo yum updateįollowing is the syntax for installing an RPM file using YUM: $ sudo yum install rpm_filename.rpmįor example, to install the RPM package for the tool called ‘ abc-devel‘ ( Digital logic design tool), we can run: $ sudo yum install 7.x86_64.rpm Installing an RPM Packageīefore calling the yum command to install the package, run the following command to update the index files for the package list of YUM, so that the latest versions can be installed. Let’s see how to install a downloaded RPM package file using the yum package manager in CentOS, RHEL, and Fedora.
