How To Install perl-TermReadKey on AlmaLinux 8

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

Introduction

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

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-TermReadKey.

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

sudo dnf -y install perl-TermReadKey

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

sudo yum -y install perl-TermReadKey

How To Uninstall perl-TermReadKey on AlmaLinux 8

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

sudo dnf remove perl-TermReadKey

References

Summary

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