How To Install perl-String-TtyLength on Fedora 36

In this tutorial we learn how to install perl-String-TtyLength in Fedora 36. perl-String-TtyLength is Length or width of string excluding ANSI tty codes

Introduction

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

What is perl-String-TtyLength

This module provides two functions which tell you the length and width of a string as it will appear on a terminal (tty), excluding any ANSI escape codes.

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

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

sudo dnf -y install perl-String-TtyLength

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

sudo yum -y install perl-String-TtyLength

How To Uninstall perl-String-TtyLength on Fedora 36

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

sudo dnf remove perl-String-TtyLength

perl-String-TtyLength Package Contents on Fedora 36

/usr/share/doc/perl-String-TtyLength
/usr/share/doc/perl-String-TtyLength/Changes
/usr/share/doc/perl-String-TtyLength/README
/usr/share/licenses/perl-String-TtyLength
/usr/share/licenses/perl-String-TtyLength/LICENSE
/usr/share/man/man3/String::TtyLength.3pm.gz
/usr/share/perl5/vendor_perl/String
/usr/share/perl5/vendor_perl/String/TtyLength.pm

References

Summary

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