How To Install perl-Scope-Upper on AlmaLinux 8

In this tutorial we learn how to install perl-Scope-Upper in AlmaLinux 8. perl-Scope-Upper is Act on upper scopes

Introduction

In this tutorial we learn how to install perl-Scope-Upper on AlmaLinux 8.

What is perl-Scope-Upper

This module lets you defer actions that will take place when the control flow returns into an upper scope. Currently, you can hook an upper scope end, or localize variables, array/hash values or deletions of elements in higher contexts. You can also return to an upper level and know which context was in use then.

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

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

sudo dnf -y install perl-Scope-Upper

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

sudo yum -y install perl-Scope-Upper

How To Uninstall perl-Scope-Upper on AlmaLinux 8

To uninstall only the perl-Scope-Upper package we can use the following command:

sudo dnf remove perl-Scope-Upper

References

Summary

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