How to Enable PowerTools Repository on Rocky Linux 8

Enable PowerTools Repository on Rocky Linux 8

In this article, we will have explained the necessary steps to enable the PowerTools repository on Rocky Linux 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

PowerTools is a repository that is available for RedHat and its derivative Linux to download and install developer-related packages, tools, and libraries. Moreover, many software packages available in EPEL repo sometimes require PowerTools repo to get installed properly. This repository is mainly required when you want to build some applications using their source code.

Enable PowerTools Repository on Rocky Linux 8

Step 1. First, before you start installing any package on your Rocky Linux server, we always recommend making sure that all system packages are updated.

sudo dnf update
sudo dnf upgrade

Step 2. Install Enable PowerTools Repository on Rocky Linux.

Enable PowerTools repository on your Rocky Linux system is straightforward, You can install it by just running the following command:

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Next, let’s enable it:

sudo dnf config-manager --enable epel

After installed, use the following command to enable the PowerTools repository:

sudo dnf config-manager --set-enabled powertools

To confirm that the PowerTools repository was enabled, use the following dnf repolist command to verify:

sudo dnf repolist | grep powertools

Output:

Last metadata expiration check: 0:00:22 ago on Fri 30 Dec 2021 22:34:60 PM CEST.
PowerTools                                              Rocky Linux-8 - PowerTools                                                                     1,456                                                                            119
*epel                                                   Extra Packages for Enterprise Linux 8 - x86_64                                            5,335
extras                                                  Rocky Linux-8 - Extras                                                                            15

That’s all you need to do to install Podman on Rocky Linux 8. I hope you find this quick tip helpful. For further reading on Podman, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.