How To Install perl-utils on AlmaLinux 8

In this tutorial we learn how to install perl-utils in AlmaLinux 8. perl-utils is Utilities packaged with the Perl distribution

Introduction

In this tutorial we learn how to install perl-utils on AlmaLinux 8.

What is perl-utils

Several utilities which come with Perl distribution like h2ph, perlbug, perlthanks, pl2pm, and splain. Some utilities are provided by more specific packages like perldoc by perl-Pod-Perldoc.

We can use yum or dnf to install perl-utils on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-utils.

Install perl-utils on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-utils using dnf by running the following command:

sudo dnf -y install perl-utils

Install perl-utils on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-utils using yum by running the following command:

sudo yum -y install perl-utils

How To Uninstall perl-utils on AlmaLinux 8

To uninstall only the perl-utils package we can use the following command:

sudo dnf remove perl-utils

References

Summary

In this tutorial we learn how to install perl-utils on AlmaLinux 8 using yum and dnf.