How To Install perl-String-Truncate on Fedora 36

In this tutorial we learn how to install perl-String-Truncate in Fedora 36. perl-String-Truncate is Simply truncate long strings

Introduction

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

What is perl-String-Truncate

This module handles the simple but common problem of long strings and finite terminal width.

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

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

sudo dnf -y install perl-String-Truncate

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

sudo yum -y install perl-String-Truncate

How To Uninstall perl-String-Truncate on Fedora 36

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

sudo dnf remove perl-String-Truncate

perl-String-Truncate Package Contents on Fedora 36

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

References

Summary

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