Table of Contents
This tip is about the how to install RPM fusion on AlmaLinux 8 and Rocky Linux 8. So read this free guide, How to install RPM fusion on AlmaLinux 8 and Rocky Linux 8 step by step. If you have query related to same article you may contact us.
How to install RPM fusion on AlmaLinux 8 and Rocky Linux 8 – Guide
RPM Fusion is a Fedora Linux-specific repository. To bundle resources, it combines the Livna, Freshrpms and Dribble software repositories. The repo includes, among other things, multimedia packages and the necessary codecs. The repository is divided into two sections: “free” and “not free”.
Command to add RPM Fusion Repos in AlmaLinux or Rocky Linux 8
1. Go to the command terminal
If you are using a desktop GUI, open the command terminal application while CLI users are already using it.
2. Enable EPEL Repo
Before adding the RPM repository, it is important that our AlmaLinux or Rocky Linux 8 system has the popular Extra Packages for Enterprise Linux (EPEL) repository enabled. To do this, use:
sudo dnf install epel-release
or
sudo dnf install –nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf
Run system update:
sudo dnf update
3. Add RPM Fusion Repos
Once EPEL is enabled, the next step is to add RPM Fusion easily using the commands provided below:
sudo dnf install rpmfusion-free-release sudo dnf install rpmfusion-nonfree-release
or
sudo dnf install –nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm sudo dnf install https://mirrors.rpmfusion.org/nonfree/el/rpmfusion- nonfree-release-8.noarch.rpm
Perform system update
sudo dnf update
4. Check available Repos
To confirm that you have successfully added RPM Fusion to your RHEL-based Linux system, use:
dnf repolist
5. List all packages available in RPM Fusion
If you want to know what packages are available for installation through the RPM Fusion repository for your Linux system, just list them using this command:
For free packages
dnf repository-packages rpmfusion-free-updates list
for the not free
dnf repository-packages rpmfusion-nonfree-updates list
6. Search Packages
Instead of listing all packages, we can search for some specific packages to see if they are available in RPM Fusion or not. Let’s say we want to search for packages related to VirtualBox, then the command will be:
dnf repository-packages rpmfusion-free-updates list | grep -i virtualbox
To install any package, just use DNF and the package name available in the RPM Fusion repository.
For example:
sudo dnf install VirtualBox server
7. Disable or enable any repository
After adding some repository like RPM Fusion, if you want your system not to use it, we can disable it and enable it whenever necessary using the configuration manager
Install Yum Utils:
sudo dnf install yum-utils
Command syntax for enabling or disabling repo:
sudo yum-config-manager –disable repository-ID
To get the list of repository IDs using
dnf repolist
Let’s say we want to disable Fusion, so the command will be:
sudo yum-config-manager –disable rpmfusion-free-updates
To activate it in the future, use:
sudo yum-config-manager –enable rpmfusion-free-updates
To list, all enabled and disabled repositories simply type:
dnn repolist all
This way, we can add and enable the RPM Fusion repository in Rocku Linux 8 or ALmalinux 8 using the command terminal.
Final note
I hope you like the guide How to install RPM fusion on AlmaLinux 8 and Rocky Linux 8. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.