Thursday, October 23, 2025
HomeGuest BlogsEnable PowerTools Repository on CentOS 8 / Rocky 8 / RHEL 8

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

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
sudo dnf upgrade -y

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 / Rocky Linux 8 / RHEL 8:

sudo dnf config-manager --set-enabled powertools

Confirm it is enabled:

$ sudo dnf repolist
repo id                                                                            repo name
appstream                                                                          Rocky Linux 8 - AppStream
baseos                                                                             Rocky Linux 8 - BaseOS
epel                                                                               Extra Packages for Enterprise Linux 8 - x86_64
extras                                                                             Rocky Linux 8 - Extras
foreman-client                                                                     Foreman client 3.5
powertools                                                                         Rocky Linux 8 - PowerTools

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

Similar guides:

RELATED ARTICLES

Most Popular

Dominic
32361 POSTS0 COMMENTS
Milvus
88 POSTS0 COMMENTS
Nango Kala
6728 POSTS0 COMMENTS
Nicole Veronica
11892 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11954 POSTS0 COMMENTS
Shaida Kate Naidoo
6852 POSTS0 COMMENTS
Ted Musemwa
7113 POSTS0 COMMENTS
Thapelo Manthata
6805 POSTS0 COMMENTS
Umr Jansen
6801 POSTS0 COMMENTS