Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

RPM Fusion and are common third party package repositories for Fedora. You need them if you want to install media players, codecs and/or DVD playback libraries that are not part of the primary Fedora repository because of assumed issues like distribution licensing or similar.

Thus my question how to enable them in Fedora (>= 17)?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

For RPM Fusion (free repository):

Get the release rpm:

$ wget\

Check the archive's integrity via:

$ rpm --checksig rpmfusion-free-release-23.noarch.rpm

Which should fail with:


Add key to your gpg keyring for checking:

$ gpg --keyserver --recv-keys KEY_ID 

In case the key is not available on a keyserver you have to download it from the rpmfusion key page:

$ curl -o RPM-GPG-KEY-rpmfusion-free-fedora-23 '\

Unfortunately, rpmfusion does not use https.

Compare the fingerprint with the published information on the RPM Fusion key site, via a web-search and possibly check the web of trust:

$ gpg --fingerprint KEY_ID

If successful make the key known to rpm:

$ gpg --export -a KEY_ID > RPM-GPG-KEY-rpmfusion-free-fedora-23
# rpm --import RPM-GPG-KEY-rpmfusion-free-fedora-23

Check the integrity of the package for real:

$ rpm --checksig rpmfusion-free-release-23.noarch.rpm

If it is ok install it:

# dnf install rpmfusion-free-release-23.noarch.rpm

Or with older Fedora versions:

# yum localinstall rpmfusion-free-release-stable.noarch.rpm

This will create config files under /etc/yum.repos.d/ and key files under /etc/pki/rpm-gpg.

Note that the # means that you have to execute those commands as root.

For the nonfree RPM Fusion repository you have to wget the analogous setup rpm as well.

For you have to:

$ wget

The other steps are analogous.

As of November, 2015, the livna repository structure only provides release directories until Fedora 21. Thus, you have to edit


such that:

  • the mirrorlist line is commented out
  • the baseurl is commented in and the $release variable is replaced with 21

Most of the libraries available from livna for Fedora 21 should work as-is also under Fedora 23.


As the time of writing the following keys were used:\
KEY_ID: e051b67e
key fingerprint: 1E0D 69F0 77CA 4960 C32C  17E2 5B03 78C0 E051 B67E
KEY_ID: a109b1ec
key fingerprint: 037B 5D9B E1B6 B673 2A23  13B5 7129 5441 A109 B1E
share|improve this answer

Also, in case livna is not accessible (like it happened to me for a full day), you can use ATrpms.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.