Cannot enable PowerTools for RHEL 8

Latest response

Hi community, I'm trying to enable PowerTools on my RHEL 8 workstation. So I typed dnf config-manager --set-enabled PowerTools, but got this error message:

[root@rhel ~]# dnf config-manager --set-enabled PowerTools
Updating Subscription Management repositories.
Error: No matching repo to modify: PowerTools.

I've searched on Google about RHEL 8/CentOS 8, all posts I found are mentioning this method. But unfortunately this did not work in my case. Can I have your help please?


Here are all available groups:

[root@rhel ~]# dnf grouplist
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 255 B/s | 4.1 kB 00:16
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 31 kB/s | 3.7 MB 02:00
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 276 B/s | 4.5 kB 00:16
Available Environment Groups:
Server with GUI
Server
Minimal Install
KDE Plasma Workspaces
Custom Operating System
Virtualization Host
Installed Environment Groups:
Workstation
Installed Groups:
Development Tools
GNOME Desktop Environment
Hardware Support
Available Groups:
Legacy UNIX Compatibility
Smart Card Support
RPM Development Tools
Headless Management
Container Management
.NET Core Development
System Tools
Scientific Support
Security Tools
Graphical Administration Tools
Network Servers
Fedora Packager
Xfce
Games and Entertainment
Graphical Internet
KDE (K Desktop Environment)
Sound and Video

And what I've enabled:

[root@rhel ~]# dnf repolist
Updating Subscription Management repositories.
repo id repo name
code Visual Studio Code
codeready-builder-for-rhel-8-x86_64-rpms Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
google-chrome google-chrome
raven Raven's RPM repo for el8-x86_64 - base
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
rpmfusion-free-updates RPM Fusion for EL 8 - Free - Updates

Responses

I accidentally saw this post: https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8.

And according to CentOS Wiki, I think PowerTools is the equivalent repo for CodeReady (RHEL) on CentOS due to trademark issues. https://wiki.centos.org/FAQ/CentOS8.

And I think my issue solved :)

I did as instructed by the shared link and this is always the outcome Red Hat Enterprise Linux 8.2

Updating Subscription Management repositories. Error: No matching repo to modify: PowerTools.