How to install RPM Fusion on Fedora or CentOS

Last updated on October 25, 2020 by Dan Nanni

RPM Fusion is a software repository that offers various free or non-free add-on packages that do not ship with the original Fedora distribution. RPM Fusion contains various useful packages that are not included in the Fedora distribution just because they do not meet Fedora's free software requirements.

Once RPM Fusion is enabled on your system, you can install any package available from the repository simply by using yum command.

This post describes how to set up RPM Fusion repository on Fedora or CentOS.

First of all, to check whether or not RPM Fusion is installed on your system, run the following command.

$ yum repolist | grep rpmfusion

If the above command does not produce any result, it means that RPM Fusion is not installed on your system.

RPM Fusion maintains two separate repositories for free and non-free packages. You can selectively enable either or both repositories as you want.

Set up RPM Fusion on Fedora

The following instruction works for Fedora 14 or higher.

To enable the free repository of RPM Fusion:

$ sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

To enable the non-free repository of RPM Fusion:

$ sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Set up RPM Fusion on CentOS

In order to install RPM fusion on CentOS, you first need to enable EPEL repository first. After that, proceed as follows to set up RPM Fusion on CentOS.

To enable the free/non-free repositories of RPM Fusion on CentOS 6:

$ sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm

To enable the free/non-free repositories of RPM Fusion on CentOS 5:

$ sudo rpm -Uvh http://download1.rpmfusion.org/free/el/updates/5/i386/rpmfusion-free-release-5-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/5/i386/rpmfusion-nonfree-release-5-1.noarch.rpm

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean