If you are using the EPEL repository then also enable PowerTools repo on Rocky Linux server or desktop to install developer-related software packages. The command given in this tutorial can also be used for CentOS8 and RHEL8.
What is PowerTools?
PowerTools is a repository that is available for RedHat and its derivative Linux to download and install developer-related packages, tools, and libraries. Also, many software packages available in EPEL repo sometimes require PowerTools repo to get installed properly. This repository mainly requires when you want to build some applications using their source code.
Here are some packages available to install using the PowerTools repo:
- boost -numpy
- And others…
Install DNF plugins package
Although it would already be installed on your Rocky system, however still run the below command to make sure it is there-
sudo dnf install dnf-plugins-core
If you are about to use PowerTools then I would recommend you to also enable EPEL because many time installing some software or building some package from its source code requires some dependencies that are available in EPEL, thus simply run-
sudo dnf install epel-release
Enable PowerTools repository on Rocky Linux 8
Now, finally, get PowerTools on your Rocky Linux/CentOS/AlmaLinux/RHEL 8 using the below-given command-
sudo dnf config-manager --set-enabled powertools
To flush the system cache and let it recognize the newly added repo of PowerTools, run once the update command before installing any package.
sudo dnf update
Check the Added repository on Rocky Linux
Let’s check what are the Repos are on our Linux system to download various packages using the command line package manager Yum or DNF.
In the below screenshot you can see we have four key repositories on our Rocky Linux that are –
repo id repo name appstream Rocky Linux 8 - AppStream baseos Rocky Linux 8 - BaseOS epel Extra Packages for Enterprise Linux 8 - x86_64 epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64 extras Rocky Linux 8 - Extras powertools Rocky Linux 8 - PowerTools
- How to install KDE Plasma Desktop on Rocky Linux 8
- Download Rocky Linux 8 ISO
- How to install Docker CE on Rocky
- Install Chrome browser on Rocky