To get some extra packages in your Enterprise Almalinux or Rocky Linux 9, listed below are the steps to allow EPEL and EPEL repository on them.
EPEL on Enterprise Linux programs resembling RHEL, AlmaLinux, Rocky, Oracle, CentOS, and Fedora is a repository to offer extra packages that aren’t accessible by the default programs repo resembling BASEOS and AppStream. Some examples of packages that may be discovered within the EPEL repository embody growth instruments, multimedia software program, and system administration utilities.
The time period EPEL which everyone knows is an acronym for Extra Packages for Enterprise Linux. The packages are thought-about to be steady and well-tested, and they’re maintained by the EPEL mission.
The EPEL repository will be added to CentOS or RHEL programs, permitting customers to simply install extra software program packages that aren’t included within the base distribution.
As for “EPEL Next,” EPEL packages are constructed for RHEL, however it’s meant to supply another repository for constructing in opposition to CentOS Stream. This is beneficial for upcoming RHEL library rebases or minimal model construct necessities not but in RHEL. EPEL Next has its personal distgit branches, koji construct targets, and bodhi releases, with a .subsequent disttag for improve paths.
1. Update Almalinux or Rocky
Before including the repository, let’s replace our Linux system to get the accessible safety updates and rebuild the DNF package deal cache.
sudo dnf replace
2. Install Yum-Utils for Config Manager
We want the Config-Manager software of YUM to simply allow or disable the accessible system repositories utilizing the command terminal.
sudo dnf install yum-utils
3. Enable CRB Repository
There are some packages within the EPEL repository of Enterprise Linux that want CBR ” Code Ready Builder: repository. Therefore, first, allow it utilizing the given command:
sudo dnf config-manager --set-enabled crb
4. Install Epel and Epel Next on Almalinux or Rocky 9
Now, we will allow EPEL – Extra packages for Enterprise Linux and EPEL Next on Almalinux 9 or another RHEL 9-based Linux distro you’re utilizing, listed below are the command to try this.
Command to allow EPEL
sudo dnf install epel-release
Command to allow EPEL Next
sudo dnf install epel-next-release
4. Check the checklist of enabled repositories
To affirm EPEL is enabled efficiently on our Linux system, we will checklist the energetic repositories, right here is the command to try this:
repo id repo identify appstream AlmaLinux 9 - AppStream baseos AlmaLinux 9 - BaseOS crb AlmaLinux 9 - CRB epel Extra Packages for Enterprise Linux 9 - x86_64 epel-next Extra Packages for Enterprise Linux 9 - Next - x86_64 extras AlmaLinux 9 - Extras