In this article, we are going to teach you How to Install EPEL Repository on AlmaLinux. If you have no idea about the EPEL repository, I must say that EPEL stands for the extra package for enterprise Linux, which is used in CentOS, Red Hat, also Linux distributions like AlmaLinux and Oracle. To start EPEL, you can also use the DNF command to install the package. 

What is EPEL Repository?

As we mentioned above EPEL stands for Extra Packages for Enterprise Linux, which is open-source and free to use. This project is made by the Fedora team, which provides high-quality software packages for Linux distributions. The point is that these packages may not be included in the core repository. It will give you easy access to install packages for software.

Prerequisites to Install EPEL Repository on AlmaLinux

– Having SSH access to the server

– A Linux VPS server running AlmaLinux

– Access as the root user or non-root sudo user

How to Install EPEL Repository on AlmaLinux

To start your task, you can run the command below to ensure that your system is up-to-date. This will rebuild the cache system of the repository and you will not have any problems during the installation process: 

sudo dnf update

Now, enable the EPEL repository by entering the following command in the Linux terminal: 

sudo dnf install epel-release

install EPEL on almalinux

To re-confirm the installed version of EPEL, just run the following command:

rpm -q epel-release

Check The Status of the EPEL repository

Here, you can apply the given command to check the list of repositories on AlmaLinux and confirm the availability of EPEL:

sudo dnf repolist

You may encounter the following common error when enabling EPEL:

No match for argument: epel-release
Error: Unable to find a match

Troubleshooting Common Errors of Installing EPEL Repository

One of the main reasons for this error is missing the dependency of the passenger from the server. The solution is to install the passenger on the server to resolve the error. So follow the command below:

sudo dnf install passenger

Conclusion

This article taught you how to install the EPEL repository on AlmaLinux. The method to enable the EPEL repository is very simple and common for all Linux distributions, including AlmaLinux. 

FAQ

Is EPEL safe to use?

EPEL is safe and widely used, because of its wide selection of useful packages.
Rate this post