How To Install perl-TermReadKey on Fedora 36

In this tutorial we learn how to install perl-TermReadKey in Fedora 36. perl-TermReadKey is A perl module for simple terminal control

Introduction

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

What is perl-TermReadKey

Term 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 good likelyhood of it working.

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

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

sudo dnf -y install perl-TermReadKey

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

sudo yum -y install perl-TermReadKey

How To Uninstall perl-TermReadKey on Fedora 36

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

sudo dnf remove perl-TermReadKey

perl-TermReadKey Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/f2005d158e6fd288afeb5b78749670bf2d0b62
/usr/lib64/perl5/vendor_perl/Term
/usr/lib64/perl5/vendor_perl/Term/ReadKey.pm
/usr/lib64/perl5/vendor_perl/auto
/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/share/doc/perl-TermReadKey
/usr/share/doc/perl-TermReadKey/Changes
/usr/share/doc/perl-TermReadKey/README
/usr/share/doc/perl-TermReadKey/example
/usr/share/doc/perl-TermReadKey/example/test.pl
/usr/share/man/man3/Term::ReadKey.3pm.gz

References

Summary

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