How To Install perl-PadWalker on Rocky Linux 8

In this tutorial we learn how to install perl-PadWalker on Rocky Linux 8. perl-PadWalker is Play with other people’s lexical variables

Introduction

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

What is perl-PadWalker

PadWalker is a module that allows you to inspect (and even change!) lexical variables in any subroutine that called you. It will only show those variables that are in scope at the point of the call.

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

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

sudo dnf -y install perl-PadWalker

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

sudo yum -y install perl-PadWalker

How To Uninstall perl-PadWalker on Rocky Linux 8

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

sudo dnf remove perl-PadWalker

perl-PadWalker Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/40f47a951393a96225e5048fab76cf999e7ea3
/usr/lib64/perl5/vendor_perl/PadWalker.pm
/usr/lib64/perl5/vendor_perl/auto/PadWalker
/usr/lib64/perl5/vendor_perl/auto/PadWalker/PadWalker.so
/usr/share/doc/perl-PadWalker
/usr/share/doc/perl-PadWalker/Changes
/usr/share/doc/perl-PadWalker/README
/usr/share/man/man3/PadWalker.3pm.gz

References

Summary

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