To enable RPM Fusion repositories in Fedora, you install two RPM packages from the RPM Fusion website using the dnf command. This gives you access to thousands of additional software packages that Fedora does not include by default, such as multimedia codecs, proprietary drivers, and third-party applications.
What Are RPM Fusion Repositories?
RPM Fusion is a community-maintained software repository that provides packages that are not included in the official Fedora repositories. It is the result of a merger between several earlier projects (Fusion, Livna, and Dribble) and is now the standard way to get extra software on Fedora. The repository is split into two main sections: free (containing open-source software) and nonfree (containing software with restrictive licenses, such as proprietary codecs). Both are needed for most users, as the nonfree section includes essential multimedia components.
Why You Need RPM Fusion
Fedora’s official repositories are intentionally limited to free and open-source software. This means you will not find popular applications like VLC, Steam, or NVIDIA drivers in the default repos. RPM Fusion fills this gap by offering:
- Multimedia codecs (e.g., H.264, H.265, MP3, AAC) for playback in apps like Totem or Rhythmbox
- Proprietary graphics drivers (NVIDIA, AMD) that are not shipped by Fedora
- Third-party applications like Google Chrome, Slack, and Discord
- Additional libraries and tools for developers and power users
Step-by-Step: Enabling RPM Fusion
The process is straightforward and takes less than a minute. Open a terminal and run the following commands:
- Install the free repository:
sudo dnf install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm - Install the nonfree repository:
sudo dnf install \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm - Update your package cache:
sudo dnf update
The $(rpm -E %fedora) part automatically inserts your Fedora version number, so the correct release package is downloaded. If you prefer, you can also download the RPM files from the RPM Fusion website and install them with sudo dnf install ./rpmfusion-*.rpm.
Verifying the Installation
After installation, you can confirm that the repositories are active by running:
dnf repolist | grep rpmfusion
You should see output similar to:
rpmfusion-free-updates RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree-updates RPM Fusion for Fedora 40 - Nonfree - Updates
If you see these lines, the repositories are enabled and ready to use. You can now search for packages with dnf search and install them normally.
Common Problems and Solutions
While the process is usually smooth, a few issues can arise:
- GPG key error: If you get a GPG key import prompt, accept it. If you previously imported a key and it fails, run
sudo dnf clean alland try again. - Version mismatch: If you are on a pre-release Fedora (like a Beta), the release RPM may not exist. Wait for the final release or use the
rawhideversion temporarily. - DNF cache issues: If packages from RPM Fusion do not appear, run
sudo dnf clean alland thensudo dnf makecache. - Missing dependencies: If a package from RPM Fusion fails to install due to missing dependencies, try
sudo dnf groupupdate coreorsudo dnf groupupdate multimediato pull in common dependencies.
Free vs. Nonfree: What You Need
Most users should enable both repositories. The free repository contains open-source software that Fedora excludes for other reasons (e.g., patent issues), such as some codecs. The nonfree repository contains software that is not open-source, like the NVIDIA driver or Steam. If you only install the free repo, you will still miss many popular packages. However, if you are a strict open-source advocate, you can stick with free only and use alternative open-source drivers and codecs.
Safety and Maintenance
RPM Fusion is a well-established and trusted repository, but it is not officially supported by Fedora. Packages are built by volunteers and may receive less testing than official ones. To minimize risk:
- Always keep your system updated with
sudo dnf updateregularly. - Prefer packages from official Fedora repos when they exist; use RPM Fusion only for what is missing.
- If you encounter bugs, report them to the RPM Fusion bug tracker.
- To disable a repository temporarily, use
sudo dnf config-manager --set-disabled rpmfusion-freeorrpmfusion-nonfree.
Frequently Asked Questions
Is RPM Fusion safe to use?
Yes, RPM Fusion is widely used and considered safe. It is a community project with a solid reputation, but it is not officially supported by Fedora. Always install packages from trusted sources and keep your system updated.
Do I need both free and nonfree repositories?
For most users, yes. The free repo provides open-source software that Fedora omits, while the nonfree repo contains proprietary software like NVIDIA drivers and Steam. Without the nonfree repo, you will miss many popular applications.
Can I enable RPM Fusion on Fedora Silverblue or Kinoite?
Yes, but the process is different. On immutable variants, you use rpm-ostree install to layer the RPM packages. The same release RPMs work, but you must install them with rpm-ostree install instead of dnf.
How do I remove RPM Fusion repositories?
To remove them, run sudo dnf remove rpmfusion-free-release rpmfusion-nonfree-release. This will also remove any packages that depend on those repos, so be careful.
Why are some packages not available even after enabling RPM Fusion?
Some packages may be in the updates-testing repo, which is disabled by default. You can enable it with sudo dnf config-manager --set-enabled rpmfusion-free-updates-testing and rpmfusion-nonfree-updates-testing if you want to try newer versions.
Does RPM Fusion work with Fedora’s official repositories?
Yes, RPM Fusion is designed to coexist with Fedora’s official repos. It does not replace them; it supplements them. You can use both simultaneously without conflicts.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Delete Picture Kik? How to Remove Photos
- What Happens to X Replies, DMs, and Followers After Deletion?
- Data Breaches That Shook the World
- Disable Google Assistant: Turn It Off on Android & Home
- Resin vs FDM Printers for Miniatures: Detail, Durability, Cost
- Are Networked Implants Safe? What If One Fails?