How can I enable the PowerTools Repository on CentOS 8 / RHEL 8 Linux machine?. The PowerTools repository is not enabled by default on CentOS 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 / 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 https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Enable PowerTools Repository on CentOS 8 / RHEL 8:

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 / RHEL 8 Linux system.

Similar guides:

Enable EPEL repository on RHEL / CentOS 8

Enable REMI repository on CentOS / RHEL 8