Enabling the RPMFusion repository
RPMFusion is a community repository that ships packages that Fedora doesn’t want to (i.e. nonfree software or free software that doesn’t meet their licensing guidelines) or can’t ship (i.e. software that does not explicitly allow redistribution).
While RPMFusion is generally recognized as a safe source for packages, it is still a 3rd party repository, and usual caution should be exercised. According to RPMFusion, most developers involved in the project “are also actively involved with the Fedora project.”1
- Enable RPMFusion Free and RPMFusion Nonfree
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 - Explicitly enable the OpenH264 repository
sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1 - Install the required package to verify the keys
sudo dnf install distribution-gpg-keys - Import the keys
sudo rpmkeys --import /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-free-fedora-$(rpm -E %fedora) - Install and verify the keys
sudo dnf --setopt=localpkg_gpgcheck=1 install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm - Add AppStream metadata
sudo dnf update @core
Currently (2024), the correct key fingerprints are as follows:
Free:pub rsa4096 2019-10-21 [SC] Key fingerprint = E9A4 91A3 DE24 7814 E7E0 67EA E06F 8ECD D651 FF2E uid RPM Fusion free repository for Fedora (2020) <rpmfusion-buildsys@lists.rpmfusion.org>Nonfree:
pub rsa4096 2019-10-21 [SC] Key fingerprint = 79BD B88F 9BBF 7391 0FD4 095B 6A2A F961 9484 3C65 uid RPM Fusion nonfree repository for Fedora (2020) <rpmfusion-buildsys@lists.rpmfusion.org>
These instructions do not install the tainted repos. The free-tainted repository includes free software that may have some legal implications of using (i.e. libdvdcss), and nonfree-tainted mostly includes proprietary firmware.