{"id":12725,"date":"2021-12-07T04:21:31","date_gmt":"2021-12-07T04:21:31","guid":{"rendered":"https:\/\/linuxways.net\/?p=12725"},"modified":"2021-12-07T04:21:31","modified_gmt":"2021-12-07T04:21:31","slug":"how-to-install-enable-rpm-fusion-on-rocky-linux-8","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/red-hat\/how-to-install-enable-rpm-fusion-on-rocky-linux-8\/","title":{"rendered":"How to Install \/ Enable RPM Fusion on Rocky Linux 8"},"content":{"rendered":"<p><a href=\"https:\/\/rpmfusion.org\/\">RPM Fusion<\/a> is a unique repository that provides addon packages not included in RedHat and Fedora Project. The software provided by RPM Fusion comes in the form of precompiled RPMs for current RHEL distributions such as Rocky, AlmaLinux, and CentOS as well as Fedora releases. You can use such repositories with package managers such as YUM and DNF. The goal of RPM is to provide as much add-on software as possible for RHEL and Fedora Project.<\/p>\n<h2><strong>Step 1: Enable EPEL repository<\/strong><\/h2>\n<p>To get started, let\u2019s start on clean slate and check if RPM Fusion is installed.<\/p>\n<pre><strong>$ dnf repolist | grep rpmfusion<\/strong><\/pre>\n<p>The blank output on the terminal is sure proof that RPM Fusion is not installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"748\" height=\"147\" class=\"wp-image-12726\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-77.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-77.png 748w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-77-300x59.png 300w\" sizes=\"auto, (max-width: 748px) 100vw, 748px\" \/><\/p>\n<p>With that out of the way, we will now commence the installation of the RPM Fusion repository by ensuring that EPEL package is enabled.<\/p>\n<pre><strong>$ sudo dnf install epel-release<\/strong><\/pre>\n<p>In our case, we already have it installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"821\" height=\"232\" class=\"wp-image-12727\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-78.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-78.png 821w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-78-300x85.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-78-768x217.png 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/p>\n<p>Next, refresh the system repositories &amp; update packages.<\/p>\n<pre><strong>$ sudo dnf update<\/strong><\/pre>\n<p>Once updated, proceed to the next step.<\/p>\n<h2><strong>Step 2: Add RPM Fusion repositories<\/strong><\/h2>\n<p>RPM Fusion encompasses both free and non-free repositories. If you are an opensource fan, you will probably want to install and enable the free repository. To do this, invoke the command:<\/p>\n<pre><strong>$ sudo dnf install --nogpgcheck https:\/\/mirrors.rpmfusion.org\/free\/el\/rpmfusion-free-release-8.noarch.rpm <\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"839\" height=\"428\" class=\"wp-image-12728\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-79.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-79.png 839w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-79-300x153.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-79-768x392.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>When the installation of the free RPM Fusion is done, the output shown will be a confirmation that all went as planned.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"808\" height=\"291\" class=\"wp-image-12729\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-80.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-80.png 808w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-80-300x108.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-80-768x277.png 768w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/p>\n<p>Moreover, you can install the RPM Fusion non-free repository as follows.<\/p>\n<pre><strong>$ sudo dnf install https:\/\/mirrors.rpmfusion.org\/nonfree\/el\/rpmfusion-nonfree-release-8.noarch.rpm<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"824\" height=\"431\" class=\"wp-image-12730\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-81.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-81.png 824w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-81-300x157.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-81-768x402.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/p>\n<p>Follow right till the end and the installation will be complete.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"290\" class=\"wp-image-12731\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-82.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-82.png 806w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-82-300x108.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-82-768x276.png 768w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/p>\n<p>On the terminal, confirm that both the free and non-free repositories provided by RPM Fusion have been installed.<\/p>\n<pre><strong>$ dnf repolist | grep rpmfusion<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"222\" class=\"wp-image-12732\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-83.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-83.png 820w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-83-300x81.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-83-768x208.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/p>\n<h2><strong>Step 3: Searching and installing software from RPM Fusion <\/strong><\/h2>\n<p>In this section, we will try something ambitious and try to install a software package from the free repository. First, you can search for its availability before installing as shown. In this example, we are probing for the availability of the <strong> vlc <\/strong>software package.<\/p>\n<pre><strong>$ sudo dnf repository-packages rpmfusion-free-updates list | grep -i vlc<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"869\" height=\"291\" class=\"wp-image-12733\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-84.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-84.png 869w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-84-300x100.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-84-768x257.png 768w\" sizes=\"auto, (max-width: 869px) 100vw, 869px\" \/><\/p>\n<p>To install the package execute the command:<\/p>\n<pre><strong>$ sudo dnf install vlc-devel<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"341\" class=\"wp-image-12734\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-85.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-85.png 830w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-85-300x123.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-85-768x316.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/p>\n<h2><strong>Step 4: Disabling and enabling RPM Fusion repositories<\/strong><\/h2>\n<p>Suppose you have added the RPM Fusion repositories and you don\u2019t desire your system to use them. How can you disable the repositories? TO achieve this, install the <strong>yum-utils <\/strong>package.<\/p>\n<pre><strong>$ sudo dnf install yum-utils<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"427\" class=\"wp-image-12735\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-86.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-86.png 837w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-86-300x153.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-86-768x392.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/p>\n<p>Once installed, you can disable the free repository as follows.<\/p>\n<pre><strong>$ sudo yum-config-manager \u2013-disable rpmfusion-free-updates<\/strong><\/pre>\n<p>Thereafter, verify that the repository has been disabled and not avaiable to the system for use.<\/p>\n<pre><strong>$ sudo yum repolist disabled | grep -i rpmfusion<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"869\" height=\"242\" class=\"wp-image-12736\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-87.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-87.png 869w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-87-300x84.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-87-768x214.png 768w\" sizes=\"auto, (max-width: 869px) 100vw, 869px\" \/><\/p>\n<p>If you feel the need to enable it again, execute the command:<\/p>\n<pre><strong>$ sudo yum-config-manager \u2013-enable rpmfusion-free-updates<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"159\" class=\"wp-image-12737\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-88.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-88.png 877w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-88-300x54.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-88-768x139.png 768w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/p>\n<p>To entirely remove the Free RPM Fusion repo, run the command.<\/p>\n<pre><strong>$ sudo dnf remove rpmfusion-free-release -y<\/strong><\/pre>\n<p>Likewise, execute the command shown to purge the non-free repository.<\/p>\n<pre><strong>$ sudo dnf remove rpmfusion-nonfree-release -y<\/strong><\/pre>\n<h2><strong>Closing thoughts<\/strong><\/h2>\n<p>The RPM Fusion repository is a perfect option for additional software which is not made available by Red Hat or Fedora Project by default. You can seamlessly install the software without having to rely on flatpak or snaps which are usually bulky and take a lot of disk space.<\/p>","protected":false},"excerpt":{"rendered":"<p>RPM Fusion is a unique repository that provides addon packages not included in RedHat and Fedora Project. The software provided by RPM Fusion comes in the form of&hellip;<\/p>","protected":false},"author":1,"featured_media":12793,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[165],"tags":[436,740],"class_list":["post-12725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-red-hat","tag-rocky-linux-8","tag-rpm-fusion"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=12725"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12725\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/12793"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=12725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=12725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=12725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}