RPM Fusion third-party repositories and how to enable those on Fedora, RedHat, and Centos Linux

x


Repositories are servers that contain packages/software/libraries which you can install on your Linux distribution. The main repository of all the Linux Distributions provides software which are open source, but then what about closed, proprietary software?

How to get those in your Linux Distro?

Most of the Linux Distribution support of third-party repositories. RPM Fusion is one of these.

RPM Fusion repository

RPM Fusion is one of the third-party repository for Fedora, Red Hat Enterprise Linux, or clones versions. It contains software as precompiled RPMs that are not shipped with Fedora due to license or other issues.

There are two separate software repositories.

Free for Open Source Software – These are open-source software only but not shipped in standard repository due to some reasons.

Nonfree for redistributable software – These are redistributable non-open-source software in which source code is available publicly.

This repository is not enabled by default, you need to enable this.

How to Enable RPM Fusion Repository

There are two methods to enable these RPM Fusion repositories. You can either use a graphical method or command prompt. Both the methods are mentioned below, but you should use either.

Fedora 30,31 and 32

Run the below command to enable RPM fusion repository for Fedora

# Free Repository
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

# NonFree Repository
$ sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

The graphical method is also an easy one.

Open one of the below links as per the version of your Fedora OS in Firefox.

Free Repository

NonFree Repository

This opens a file download popup. Select Open with Software Install Option.

open rpm fusion repository with software install

Click the Install button.

install rpm fusion repository

Software install downloads and install RPM fusion repository in your fedora os.

RPM fusion repository installation complete

Summary

RPM fusion repository comes to your rescue when you want to install software that is not open-source, proprietary. Just remember a non-free repository, you have a license to use it if required.