How To

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.

Original content from computingforgeeks.com - post 52257

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:

Keep reading

Customize KDE Plasma Desktop with Themes|Modules|Extensions AlmaLinux Customize KDE Plasma Desktop with Themes|Modules|Extensions How To Extract .xz files on a Linux System CentOS How To Extract .xz files on a Linux System Extend Root Filesystem Using LVM on Linux KVM Extend Root Filesystem Using LVM on Linux Configure KVM Networking With virsh, nmcli and brctl in Linux Virtualization Configure KVM Networking With virsh, nmcli and brctl in Linux Use virt-manager as a non-root user on Linux Virtualization Use virt-manager as a non-root user on Linux Check Linux Version, Kernel, and Distribution from Command Line CentOS Check Linux Version, Kernel, and Distribution from Command Line

4 thoughts on “Enable PowerTools Repository on CentOS 8 / Rocky 8 / RHEL 8”

Leave a Comment

Press ESC to close