How to enable PowerTools Repository on Rocky Linux 8

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:

  • clucene-core-devel
  • zziplib-devel
  • xmlrpc-c-c++
  • xmltoman.noarch
  • boost -numpy
  • turbojpeg-devel
  • xz-lzma-compat
  • transfig.x86_64
  • tracker-miners
  • xcb-util-devel
  • xorg-x11-util-macros.noarch
  • xorg-x11-xkb-utils-devel
  • xmlsec1-openssl-devel
  • xmlsec1-gcrypt
  • 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


Install EPEL

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


Update command

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.

dnf repolist

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


Enable PowerTools repository on Rocky Linux 8


Other Articles-



4 thoughts on “How to enable PowerTools Repository on Rocky Linux 8”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.