Fedora: the most important repositories – RPM Fusion, Flathub and COPR

For legal reasons Fedora ships free software only. Patent-encumbered codecs, the NVIDIA drivers or programs such as Steam are therefore missing after installation. A few additional repositories fix that quickly. This article shows the most important ones.

RPM Fusion

RPM Fusion is the most important additional repository for Fedora. It is split into two parts: free (free but patent-encumbered software such as codecs) and nonfree (e.g. NVIDIA drivers, Steam). Both are added with one command:

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

$(rpm -E %fedora) is automatically replaced by the installed Fedora version.

Installing multimedia codecs

# Full FFmpeg instead of Fedora's restricted version
sudo dnf swap ffmpeg-free ffmpeg --allowerasing

# Further multimedia packages
sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin

For hardware-accelerated video playback with AMD and Intel graphics:

# AMD
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld

# Intel (newer generations)
sudo dnf install intel-media-driver

NVIDIA drivers

sudo dnf install akmod-nvidia

After the installation, wait a few minutes until the kernel module has been built (check with modinfo -F version nvidia), then reboot. With Secure Boot enabled you have to set up your own signing key first – the instructions are in the RPM Fusion wiki.

Flathub

Many desktop programs are available as Flatpaks on Flathub. By default Fedora only includes a filtered selection. This enables the full catalogue:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

COPR

COPR is Fedora’s counterpart to Ubuntu’s PPAs: developers and community members build packages there that are not (yet) part of Fedora.

sudo dnf copr enable user/project
sudo dnf copr remove user/project     # remove it again

COPR packages are not reviewed by Fedora. You should only add repositories whose maintainers you trust.

Keeping track

dnf repolist                 # active repositories
dnf repolist --all           # all, including disabled ones
ls /etc/yum.repos.d/         # the corresponding files

Originally published in 2009, completely revised in November 2026. Earlier repositories such as Livna, Freshrpms or ATrpms no longer exist – most of them have been merged into RPM Fusion.