Enabling the RPM Fusion repositories

Micah Abbott Version F36 and newer Last review: 2023-09-17

This page discusses third-party software sources not officially affiliated with or endorsed by the Fedora Project. Use them at your own discretion. Fedora recommends the use of free and open source software and avoidance of software encumbered by patents.

Third party repositories

There are a number of third-party software repositories for Fedora. They have more liberal licensing policies and provide software packages that Fedora excludes for various reasons. These software repositories are not officially affiliated or endorsed by the Fedora Project. Use them at your own discretion. For complete list, see FedoraThirdPartyRepos The following repositories are commonly used by end users and do not conflict with each other:

Mixing third party software repositories

Mixing a lot of third party repositories is not recommended since they might conflict with each other causing instability and hard to debug issues. If you are not a technical user, one way is to not enable the third-party repo by default and instead use the --enablerepo switch for dnf, or a similar method configurable in the graphical package manager.

The purpose of RPM Fusion

The RPM Fusion project is a community-maintained software repository providing additional packages that are not distributed by Fedora.

Additional resources

Enabling the RPM Fusion repositories using command-line utilities

This procedure describes how to enable the RPM Fusion software repositories without using any graphical applications.

Prerequisites

  • You have internet access.

Procedure

  1. To enable the Free repository, use:

    $ sudo dnf install \
      https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
  2. Optionally, enable the Nonfree repository:

    $ sudo dnf install \
      https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  3. The first time you attempt to install packages from these repositories, the dnf utility prompts you to confirm the signature of the repositories. Confirm it.

Enabling the RPM Fusion repositories using graphical applications

This procedure describes how to enable the RPM Fusion software repositories without using any command-line utilities.

Prerequisites

  • You have internet access.

  • You are using the Gnome desktop environment.

Procedure

  1. In your web browser, open the following page: https://rpmfusion.org/Configuration.

  2. To enable the Free repository, click the RPM Fusion free for Fedora version link on the page, where version is the Fedora release you are using. This prompts you to save or open the repo file.

  3. Open the file using the Software Install application.

  4. The Software application opens. Click the blue Install button.

  5. Optionally, enable the Nonfree repository: click the RPM Fusion nonfree for Fedora version link on the page, where version is the Fedora release you are using.

  6. Save and install the file with the Software application again.

Enabling Appstream data from the RPM Fusion repositories

This procedure describes how to install the Appstream data provided by the RPM Fusion software repositories.

Prerequisites

  • You have internet access.

  • You are using the Gnome desktop environment.

  • You have the RPMFusion repositories installed

Procedure

$ sudo dnf group update core

Enabling the RPM Fusion repositories for ostree-based systems

This procedure describes how to enable the RPM Fusion software repositories for systems based on ostree (i.e. Silverblue, Kinoite, Fedora IoT).

This is a two-stage process where you have to install versioned RPM Fusion repos and then you are able to replace them with unversioned RPM Fusion repos.

For more information about this process and the problem it solves, please refer to the relevant thread on the Fedora Discourse site.

Prerequisites

  • You are using an ostree-based system such as Silverblue, Kinoite, or Fedora IoT.

  • You have internet access.

Procedure

  1. To install the versioned Free and Nonfree RPM Fusion repos:

    $ rpm-ostree 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
    $ systemctl reboot
  2. To replace the versioned RPM Fusion repos that were previously installed with the unversioned repos:

    $ rpm-ostree update \
      --uninstall rpmfusion-free-release \
      --uninstall rpmfusion-nonfree-release \
      --install rpmfusion-free-release \
      --install rpmfusion-nonfree-release
    $ systemctl reboot