How To Install perl-Eval-WithLexicals on Rocky Linux 8

In this tutorial we learn how to install perl-Eval-WithLexicals on Rocky Linux 8. perl-Eval-WithLexicals is Pure Perl eval with persistent lexical variables

Introduction

In this tutorial we learn how to install perl-Eval-WithLexicals on Rocky Linux 8.

What is perl-Eval-WithLexicals

Pure Perl eval with persistent lexical variables.

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

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

sudo dnf -y install perl-Eval-WithLexicals

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

sudo yum -y install perl-Eval-WithLexicals

How To Uninstall perl-Eval-WithLexicals on Rocky Linux 8

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

sudo dnf remove perl-Eval-WithLexicals

perl-Eval-WithLexicals Package Contents on Rocky Linux 8

/usr/bin/tinyrepl
/usr/share/doc/perl-Eval-WithLexicals
/usr/share/doc/perl-Eval-WithLexicals/Changes
/usr/share/doc/perl-Eval-WithLexicals/README
/usr/share/man/man1/tinyrepl.1.gz
/usr/share/man/man3/Eval::WithLexicals.3pm.gz
/usr/share/man/man3/Eval::WithLexicals::WithHintPersistence.3pm.gz
/usr/share/perl5/vendor_perl/Eval
/usr/share/perl5/vendor_perl/Eval/WithLexicals
/usr/share/perl5/vendor_perl/Eval/WithLexicals.pm
/usr/share/perl5/vendor_perl/Eval/WithLexicals/WithHintPersistence.pm

References

Summary

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