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

In this tutorial we learn how to install perl-TermReadKey.x86_64 in Amazon Linux 2. perl-TermReadKey.x86_64 is A perl module for simple terminal control

Introduction

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

What is perl-TermReadKey.x86_64

Term simple control over terminal driver modes (cbreak, raw, cooked, etc.) support for non-blocking reads, if the architecture allows, and some generalized handy functions for working with terminals. One of the main goals is to have the functions as portable as possible, so you can just plug in “use Term architecture and have a good likelyhood of it working.

We can use yum to install perl-TermReadKey.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-TermReadKey.x86_64.

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

sudo yum -y install perl-TermReadKey.x86_64

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

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

sudo yum remove perl-TermReadKey.x86_64

perl-TermReadKey.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/Term
/usr/lib64/perl5/vendor_perl/Term/ReadKey.pm
/usr/lib64/perl5/vendor_perl/auto/Term
/usr/lib64/perl5/vendor_perl/auto/Term/ReadKey
/usr/lib64/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
/usr/lib64/perl5/vendor_perl/auto/Term/ReadKey/autosplit.ix
/usr/share/doc/perl-TermReadKey-2.30
/usr/share/doc/perl-TermReadKey-2.30/README
/usr/share/man/man3/Term::ReadKey.3pm.gz

References

Summary

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