CentOS EnergyTools will not be out there in RHEL 9-based methods as an alternative its equal repository which is called CRB (Code Ready Builder). In this text, we be taught the instructions to allow CRB in Almalinux or Rocky Linux 9.
EnergyTools repository remains to be out there for CentOS 8 or different RHEL 8-based Linux resembling Almalinux or Rocky. It was meant to supply a variety of instruments & libraries primarily required by builders. However, in RHEL 9 and its primarily based Linux distros it is called Code Ready Builder.
CRB (Code Ready Builder) is an equal repository to well-known CentOS EnergyTools and briefly often called CRB in RHEL together with Almalinux, Rocky Linux, and different derivatives.
It gives builders with a variety of instruments and options that may assist them to streamline their workflow and improve productiveness. With its highly effective options and instruments, Code Ready Builder is a wonderful selection for builders trying to create and deploy purposes rapidly and effectively.
Note: CRB 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 CRB in AlmaLinux or Rocky Linux 9
1. Perform the System replace
Let’s begin with the system replace command to refresh the DNF package deal supervisor and install out there safety and utility package deal updates.
sudo dnf replace
2. Install Yum-utils on AlmaLinux or Rocky Linux 9
Yum-utils is a group of instruments and utilities for RHEL-based Linux package deal supervisor known 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 various
Now, use the config-manager and allow the already current 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 affirm CRB is enabled efficiently on our Linux system, we will record the lively repositories, right here is the command to try this:
dnf repolist
Output:
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 serious about enabling EPEL – Extra packages for Enterprise Linux and EPEL Next on Almalinux 9 then listed below are the command to try this.
What is EPEL Next?
EPEL packages are constructed for RHEL, however EPEL Next provides another 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
FAQ:
To obtain the packages out there by 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 it.
To know whether or not the EPEL repository is added and enabled on our RHEL-based Linux, use the yum repolis
t or dnf repolist
command. This will record all of the lively repositories of the system. If the EPEL is enabled then it’s going to present within the record.
“PowerTools” will not be out there in AlmaLinux 9 or CentOS 9 together with different Linux primarily based on RHEL 9. Instead of that use the CRB – 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 will also be used on Rocky Linux as nicely. Because each are primarily based on RHEL Linux.
Other Related articles:
Comments