Wondering how to Enable EPEL repository on AlmaLinux 8? We can help you.
Since RHEL, CentOS, and AlmaLinux official repository does not offer all packages we need to install various common software. To overcome this we can enable the EPEL (Extra Packages for Enterprise Linux) repository on Linux servers.
Furthermore, this offers additional packages for Enterprise Linux and also ensures the high quality of the additional packages for Enterprise Linux.
Here at Bobcares, we handle requests from our customers using Linux servers to enable EPEL repository on AlmaLinux as a part of Server Management Services.
Today, let us see how our Support techs do this for our customers.
How to Enable EPEL repository on AlmaLinux 8
The method to enable it is very simple and common for all RedHat-based Linux distros including AlmaLinux.
It is easy to add an Extra package repository for Enterprise Linux. Just like CentOS or RHEL 8, we can run the following command in the command terminal of AlmaLinux. This will enable EPEL.
sudo dnf install epel-release
Running a System update
After adding the EPEL, we need to run the update command. This allows the system to rebuild the repository cache so that we will not face any problem while installing any package available via this repo.
We can use the following command to update the system:
sudo dnf update
Checking the added EPEL version
There is no need for checking the version. This is because while installing it, the version for the same has already been displayed. However, if we wish to confirm it again, execute the command given below:
rpm -q epel-release
Common error
Following is one of the common error seen while enabling EPEL:
No match for argument: epel-release
Error: Unable to find a match
Cause
One of the dependency passenger is missing from the server.
Solution
We can install passenger in the server.
sudo dnf install passenger
Conclusion
In short, we saw how our Support Engineers enable EPEL repository on AlmaLinux 8.
0 Comments