How To Install perl-PadWalker.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-PadWalker.x86_64 in Amazon Linux 2. perl-PadWalker.x86_64 is Play with other peoples’ lexical variables

Introduction

In this tutorial we learn how to install perl-PadWalker.x86_64 on Amazon Linux 2.

What is perl-PadWalker.x86_64

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

We can use yum to install perl-PadWalker.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-PadWalker.x86_64.

Install perl-PadWalker.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-PadWalker.x86_64 using yum by running the following command:

sudo yum -y install perl-PadWalker.x86_64

How To Uninstall perl-PadWalker.x86_64 on Amazon Linux 2

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

sudo yum remove perl-PadWalker.x86_64

perl-PadWalker.x86_64 Package Contents on Amazon Linux 2

/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-1.96
/usr/share/doc/perl-PadWalker-1.96/Changes
/usr/share/doc/perl-PadWalker-1.96/README
/usr/share/man/man3/PadWalker.3pm.gz

References

Summary

In this tutorial we learn how to install perl-PadWalker.x86_64 on Amazon Linux 2 using yum.