Share on Social Media

In this Linux tutorial, you will learn how to enable PowerTools repo in Rocky Linux 9. #centlinux #linux #powertools

What is PowerTools Repo?

PowerTools repository is a YUM (Yellowdog Updater Modified) repository available in some Linux distributions like CentOS, RHEL (Red Hat Enterprise Linux), and Oracle Linux. It contains additional software packages and dependencies that are not included in the main distribution repositories, but may be needed for certain tasks or applications.

The PowerTools repository provides access to development tools, libraries, and additional software packages that may be required by software developers, system administrators, or power users. These packages may not be officially supported by the Linux distribution vendor, but are considered to be stable and reliable by the community.

What is CRB Repo?

CRB is “Code Ready Builder” – PowerTools was a carryover from CentOS, which is still the equivalent of CRB in RHEL. CRB will be the repository name going forward in Rocky Linux and other derivatives starting with version 9. Rocky Linux 8 matches CentOS’s use of PowerTools in order to be as compatible as possible with what users expect from a rebuild of version 8. (Source: rockylinux.org)

Enable PowerTools Repo

By using a ssh client, login to Rocky Linux server as root user.

Note down the Linux Kernel and Linux OS versions.

# cat /etc/rocky-release
Rocky Linux release 9.1 (Blue Onyx)

# uname -r
5.14.0-162.23.1.el9_1.x86_64

Execute following command to check currently enabled yum repositories.

# dnf repolist
repo id                         repo name
appstream                       Rocky Linux 9 - AppStream
baseos                          Rocky Linux 9 - BaseOS
extras                          Rocky Linux 9 - Extras

Execute following command at Linux terminal to enable CRB repository.

# dnf config-manager --enable crb

Again, check the list of currently enabled yum repositories.

# dnf repolist
repo id                         repo name
appstream                       Rocky Linux 9 - AppStream
baseos                          Rocky Linux 9 - BaseOS
crb                             Rocky Linux 9 - CRB
extras                          Rocky Linux 9 - Extras

You can see that, the CRB repository has been enabled now. You can now also install software on your Rocky Linux server from CRB repository.

Video to Enable CRB Repo

YouTube player

Final Thoughts

In this Linux tutorial, you have learned how to enable PowerTools repo in Rocky Linux 9. If you are new to Linux command-line, then we suggest that you should attend online training: Linux command line for beginners

Leave a Reply