How To Install perl-Eval-Context on Fedora 36

In this tutorial we learn how to install perl-Eval-Context in Fedora 36. perl-Eval-Context is Evalute perl code in context wraper

Introduction

In this tutorial we learn how to install perl-Eval-Context on Fedora 36.

What is perl-Eval-Context

This module defines a subroutine that let you evaluate Perl code in a specific context. The code can be passed directly as a string or as a file name to read from. It also provides some subroutines to let you define and optionally share variables and subroutines between your code and the code you wish to evaluate. Finally there is some support for running your code in a safe compartment.

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

Install perl-Eval-Context on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Eval-Context

Install perl-Eval-Context on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Eval-Context

How To Uninstall perl-Eval-Context on Fedora 36

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

sudo dnf remove perl-Eval-Context

perl-Eval-Context Package Contents on Fedora 36

/usr/share/doc/perl-Eval-Context
/usr/share/doc/perl-Eval-Context/Changes
/usr/share/doc/perl-Eval-Context/README
/usr/share/doc/perl-Eval-Context/Todo.txt
/usr/share/man/man3/Eval::Context.3pm.gz
/usr/share/perl5/vendor_perl/Eval
/usr/share/perl5/vendor_perl/Eval/Context.pm

References

Summary

In this tutorial we learn how to install perl-Eval-Context on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).