Like EPEL, REMI repository, RPM Fusion repository provides packages that Fedora or Red Hat doesn’t want to ship with official repositories. In this handy tutorial, let us see how to add RPM Fusion repository both on RHEL/CentOS/Scientific Linux 6.x and 5.x versions. Here x refers the version numbers i.e 6.1, 6.2, 6.3 etc.
Please be mindful that you have to enable EPEL repository, before installing RPM Fusion repository.
Install RPM Fusion Repository On Fedora 14 and later
Run the following commands to install both free and non-free RPM Fusion repositories on Fedora 14/15/16/17/18/19/20 systems. This will applicable for both 32 bit and 64 bit distributions.
$ sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm $ sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Install RPM Fusion Repository On RHEL/CentOS/Scientific Linux 5
Run the following commands to install both free and non-free RPM Fusion repositories on RHEL 5.x based systems. This will applicable for both 32 bit and 64 bit distributions.
# rpm -Uvh http://download1.rpmfusion.org/free/el/updates/5/i386/rpmfusion-free-release-5-1.noarch.rpm # rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/5/i386/rpmfusion-nonfree-release-5-1.noarch.rpm
Install RPM Fusion Repository On RHEL/CentOS/Scientific Linux 6
Run the following commands to install both free and non-free RPM Fusion repositories on RHEL 6.x based systems. This will applicable for both 32 bit and 64 bit distributions.
# rpm -Uvh http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm # rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
Update the Repositories
After installing the RPM Fusion repository packages, you have to update the repository lists using command:
# yum update
That’s it. RPM Fusion has been added and enabled in RHEL 5.x/6.x systems and Fedora 14/15/16/17/18/19/20.