How To Install perl-Lexical-SealRequireHints on AlmaLinux 8

In this tutorial we learn how to install perl-Lexical-SealRequireHints in AlmaLinux 8. perl-Lexical-SealRequireHints is Prevent leakage of lexical hints

Introduction

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

What is perl-Lexical-SealRequireHints

This module works around two historical bugs in Perl’s handling of the %^H (lexical hints) variable. One bug causes lexical state in one file to leak into another that is required/used from it. This bug, [perl #68590], was present from Perl 5.6 up to Perl 5.10, fixed in Perl 5.11.0. The second bug causes lexical state (normally a blank %^H once the first bug is fixed) to leak outwards from utf8.pm, if it is automatically loaded during Unicode regular expression matching, into whatever source is compiling at the time of the regexp match. This bug, [perl #73174], was present from Perl 5.8.7 up to Perl 5.11.5, fixed in Perl 5.12.0.

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

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

sudo dnf -y install perl-Lexical-SealRequireHints

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

sudo yum -y install perl-Lexical-SealRequireHints

How To Uninstall perl-Lexical-SealRequireHints on AlmaLinux 8

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

sudo dnf remove perl-Lexical-SealRequireHints

References

Summary

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