CentOS EnergyTools just isn’t out there in RHEL 9-based techniques as an alternative its equal repository which is named CRB (Code Ready Builder). In this text, we study the instructions to allow CBR in Almalinux or Rocky Linux 9.
EnergyTools repository remains to be out there for CentOS 8 or different RHEL 8-based Linux reminiscent of Almalinux or Rocky. It was meant to supply a spread of instruments & libraries primarily required by builders. However, in RHEL 9 and its primarily based Linux distros it is named Code Ready Builder.
CRB (Code Ready Builder) is an equal repository to well-known CentOS EnergyTools and briefly referred to as CRB in RHEL together with Almalinux, Rocky Linux, and different derivatives.
It gives builders with a spread of instruments and options that may assist them to streamline their workflow and enhance productiveness. With its highly effective options and instruments, Code Ready Builder is a superb alternative for builders seeking to create and deploy purposes rapidly and effectively.
Note: CBR is an equal repository to EnergyTools however all of the packages within the two repositories wouldn’t be the identical or out there in each.
Enable CBR in AlmaLinux or Rocky Linux 9
1. Perform the System replace
Let’s begin with the system replace command to refresh the DNF bundle supervisor and install out there safety and software bundle updates.
sudo dnf replace
2. Install Yum-utils on AlmaLinux or Rocky Linux 9
Yum-utils is a set of instruments and utilities for RHEL-based Linux bundle supervisor referred to as Yellowdog Updater Modified (YUM). It gives a number of helpful instructions that can be utilized to handle software program packages and repositories such because the config-manager that’s required to handle repositories.
sudo dnf install yum-utils
3. Enable CRB on Almalinux 9 – EnergyTools different
Now, use the config-manager and allow the already present Code Ready Builder repository in your Almalinux or Rocly Linux utilizing the given command:
sudo dnf config-manager --set-enabled crb
4. Check the record of enabled repositories
To verify CRB is enabled efficiently on our Linux system, we are able to record the lively repositories, right here is the command to do this:
repo id repo identify appstream AlmaLinux 9 - AppStream baseos AlmaLinux 9 - BaseOS crb AlmaLinux 9 - CRB extras AlmaLinux 9 - Extras
5. Install Epel and Epel Next
If you’re additionally excited by enabling EPEL – Extra packages for Enterprise Linux and EPEL Next on Almalinux 9 then listed below are the command to do this.
What is EPEL Next?
EPEL packages are constructed for RHEL, however EPEL Next gives an alternate repository for constructing in opposition to CentOS Stream. This is helpful 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.
Command to allow EPEL
sudo dnf install epel-release
Command to allow EPEL Next
sudo dnf install epel-next-release
To obtain the packages out there by way of the EPEL repository, now we have to first allow it utilizing the command-
sudo dnf install epel-release in our terminal. This will allow the repository as per the model of our Linux and allow us to obtain the packages out there by way of it.
To know whether or not the EPEL repository is added and enabled on our RHEL-based Linux, use the
yum repolist or
dnf repolist command. This will record all of the lively repositories of the system. If the EPEL is enabled then it should present within the record.
“PowerTools” just isn’t out there in AlmaLinux 9 or CentOS 9 together with different Linux primarily based on RHEL 9. Instead of that use the CBR – Code Ready Builder repository which is equal to it and might present the packages required by builders or the EPEL repository.
Yes, no matter instructions and packages are supposed to run on Almalinux can be used on Rocky Linux as properly. Because each are primarily based on RHEL Linux.
Other Related articles: