How To Install perl-Devel-Declare on AlmaLinux 8

In this tutorial we learn how to install perl-Devel-Declare in AlmaLinux 8. perl-Devel-Declare is Adding keywords to perl, in perl

Introduction

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

What is perl-Devel-Declare

Devel over Perl’s parser, allowing the creation of new syntax. This module is now deprecated core since perl 5.14, and better alternatives for Devel include Devel

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

Install perl-Devel-Declare 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-Devel-Declare using dnf by running the following command:

sudo dnf -y install perl-Devel-Declare

Install perl-Devel-Declare 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-Devel-Declare using yum by running the following command:

sudo yum -y install perl-Devel-Declare

How To Uninstall perl-Devel-Declare on AlmaLinux 8

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

sudo dnf remove perl-Devel-Declare

References

Summary

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