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:
On Rocky Linux, the mixed-case PowerTools did not work for me. The second option worked:
$ sudo dnf config-manager –set-enabled powertools
We’re happy it worked for you.
Ooooo yeah! This is SOLUTION to aapanel fail install all php version!
Thanks!!!!!!!! 🙂
Cool thanks