How To Install perl-Lexical-SealRequireHints on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install perl-Lexical-SealRequireHints on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove perl-Lexical-SealRequireHints

perl-Lexical-SealRequireHints Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/6714b834cb1b502acf95fd1b082144d8c08d86
/usr/lib64/perl5/vendor_perl/Lexical
/usr/lib64/perl5/vendor_perl/Lexical/SealRequireHints.pm
/usr/lib64/perl5/vendor_perl/auto/Lexical
/usr/lib64/perl5/vendor_perl/auto/Lexical/SealRequireHints
/usr/lib64/perl5/vendor_perl/auto/Lexical/SealRequireHints/SealRequireHints.so
/usr/share/doc/perl-Lexical-SealRequireHints
/usr/share/doc/perl-Lexical-SealRequireHints/Changes
/usr/share/man/man3/Lexical::SealRequireHints.3pm.gz

References

Summary

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