How To Install perl-Term-Cap on AlmaLinux 8

In this tutorial we learn how to install perl-Term-Cap in AlmaLinux 8. perl-Term-Cap is Perl termcap interface

Introduction

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

What is perl-Term-Cap

These are low-level functions to extract and use capabilities from a terminal capability (termcap) database.

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

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

sudo dnf -y install perl-Term-Cap

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

sudo yum -y install perl-Term-Cap

How To Uninstall perl-Term-Cap on AlmaLinux 8

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

sudo dnf remove perl-Term-Cap

References

Summary

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