How can I enable the PowerTools Repository on CentOS 8 / Rocky Linux 8 / RHEL 8 Linux machine?. The PowerTools repository is not enabled by default on CentOS 8 / Rocky Linux 8 / RHEL 8 Linux. This repository contains a number of packages required as dependencies when installing other applications, and mostly building applications from source code.

Some of the Packages in PowerTools are:

  • device-mapper-devel
  • kmod-devel
  • lame-devel
  • maven-common
  • mariadb-common
  • mingw64 and mesa packages
  • opencv
  • perl-*
  • parted-devel
  • xorg-x11-server-devel
  • and many others

To be able to enable PowerTools Repository on CentOS 8 / Rocky Linux 8 / RHEL 8 from command line interface. First install DNF plugins package:

sudo dnf -y install dnf-plugins-core

Install EPEL repository – PowerTools repository & EPEL repository are best friends. So enable EPEL repository as well.

sudo dnf -y install

Enable PowerTools Repository on CentOS 8 / Rocky Linux 8 / RHEL 8:

sudo dnf config-manager --set-enabled PowerTools
# OR
sudo dnf config-manager --set-enabled powertools

Confirm it is enabled:

$ sudo dnf repolist
Last metadata expiration check: 0:00:44 ago on Fri 24 Apr 2020 09:00:56 PM CEST.
repo id                                                 repo name                                                                                 status
AppStream                                               CentOS-8 - AppStream                                                                      4,830
BaseOS                                                  CentOS-8 - Base                                                                           1,661
PowerTools                                              CentOS-8 - PowerTools                                                                     1,456
ceph-nautilus                                           Ceph=Nautilus                                                                               119
*epel                                                   Extra Packages for Enterprise Linux 8 - x86_64                                            5,335
extras                                                  CentOS-8 - Extras                                                                            15

You can now install packages from PowerTools repository on CentOS 8 / Rocky Linux 8 / RHEL 8 Linux system.

Similar guides:

Enable EPEL repository on RHEL / CentOS 8

Enable REMI repository on CentOS / RHEL 8

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here