Any Linux distro can be described as a combination of the Linux kernel and various packages on top. The system devs have to decide which packages can be available from the official repositories. Fedora is no different. It follows a set of rules when it comes to supporting packages through the official Fedora repos:

  • The package contents can’t be proprietary.
  • The package can’t be legally encumbered.
  • The package can’t violate the laws of the United States (especially Federal or applicable state laws).

This is where third-party repositories come into play. These repos have more freedom to provide software packages that Fedora excludes.

In this guide, check out how to set up RPM Fusion on Fedora Linux.

Fedora and RPM Fusion

RPM Fusion is one of the most popular third-party repos for Fedora, CentOS/RHEL, and similar distros. It’s often the primary source of many third-party applications for Fedora. RPM Fusion is a result of three projects merging: Dribble, Freshrpms, and Livna. Check out RPM Fusion.


All the packages from RPM Fusion are pre-compiled and available for all the current versions of Fedora, RHEL, and derivatives. RPM Fusion works with tools like YUM, DNF, and PackageKit. In the case of Fedora, YUM, and DNF are both available.

There are two different repos under RPM Fusion:

  • RPM Fusion free: It contains open-source software.
  • RPM Fusion non-free: It contains software without having an open-source licensing, but the source code is available for free.

There are also additional third-party repos for Fedora, for example, Google Chrome repo.

Configuring RPM Fusion

RPM Fusion is quite simple to configure, and it’s possible to do via both GUI and CLI.

Configure RPM Fusion using GUI

RPM Fusion offers direct RPM packages to configure the repos. Go to the RPM Fusion configuration page and download the RPM packages for both “free” and “non-free” repos.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/1-3.jpg" data-lazy- height="541" src="data:image/svg xml,” width=”1366″>

Once downloaded, launch the file manager and browse for the RPM packages. Double-click the RPM packages. It’ll open them in GNOME Software.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/2-3.jpg" data-lazy- height="614" src="data:image/svg xml,” width=”909″>

Click “Install” to install the RPM package. It’ll require sudo privilege to act.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/3-3.jpg" data-lazy- height="636" src="data:image/svg xml,” width=”1048″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/4-3.jpg" data-lazy- height="636" src="data:image/svg xml,” width=”1040″>

Finally, check if the RPM Fusion repos are enabled. Go to GNOME Software >> “Software Repositories”. If disabled, enable them. The actions will require sudo privilege to perform.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/5-3.jpg" data-lazy- height="592" src="data:image/svg xml,” width=”1047″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/6-2.jpg" data-lazy- height="609" src="data:image/svg xml,” width=”1049″>

Voila! RPM Fusion is successfully installed and effective!

Configure RPM Fusion using CLI

RPM Fusion is easier to configure using the command-line. All it requires is running a single-line command to install the repository RPMs.

The following command will install RPM Fusion in both “free” and “non-free” repos. DNF will automatically grab and install the appropriate RPM packages for the Fedora version currently running.

$ sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/7-2.jpg" data-lazy- height="604" src="data:image/svg xml,” width=”1366″>

RPM Fusion should be enabled by default. The next step is to update the DNF cache. Run the following command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/8-2.jpg" data-lazy- height="434" src="data:image/svg xml,” width=”1366″>

If you’re using the GNOME/KDE desktop, the following step is recommended. It enables RPM Fusion integration with GNOME Software and KDE Discover.

$ sudo dnf groupupdate core

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/9-2.jpg" data-lazy- height="607" src="data:image/svg xml,” width=”1366″>

Disabling and enabling RPM Fusion

When a repo isn’t necessary, it’s generally better to disable the repo. A disabled repo will still remain configured in the system, but it won’t be used for installing or searching packages.

To disable RPM Fusion repo, run the following commands:

$ sudo dnf config-manager –set-disabled rpmfusion-free


$ sudo dnf config-manager –set-disabled rpmfusion-nonfree

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/10-2.jpg" data-lazy- height="133" src="data:image/svg xml,” width=”1366″>

If RPM Fusion is necessary once again, then enable the repos using the following commands:

$ sudo dnf config-manager –set-enabled rpmfusion-free

$ sudo dnf config-manager –set-enabled rpmfusion-nonfree

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/11-2.jpg" data-lazy- height="131" src="data:image/svg xml,” width=”1366″>

Removing RPM Fusion

Removing RPM Fusion from the system is simple. All it requires is to remove the RPM packages for both RPM Fusion “free” and “nonfree” repos.

First, determine the package name for the RPM Fusion repos.

$ rpm -qa | grep -i <repo>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/12-2.jpg" data-lazy- height="207" src="data:image/svg xml,” width=”1366″>

Remove the packages using the following command:

$ sudo dnf remove <package_1> <package_2>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/13-1.jpg" data-lazy- height="601" src="data:image/svg xml,” width=”1366″>

Final thoughts

RPM Fusion hosts tons of awesome software that aren’t available from the official Fedora/RHEL repos. After following this guide, hopefully, you’ve learned how to take advantage of this awesome repo.

Happy computing!

About the author

<img alt="Sidratul Muntaha" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/01/echo/profile-photo-1-150×150.jpg6016539add363.jpg" height="112" src="data:image/svg xml,” width=”112″>

Sidratul Muntaha

Student of CSE. I love Linux and playing with tech and gadgets. I use both Ubuntu and Linux Mint.