How To Install perl-Text-Autoformat on CentOS 7

In this tutorial we learn how to install perl-Text-Autoformat on CentOS 7. perl-Text-Autoformat is Automatic text wrapping and reformatting

Introduction

In this tutorial we learn how to install perl-Text-Autoformat on CentOS 7.

What is perl-Text-Autoformat

Text without the need for any kind of embedded mark-up. The module recognizes Internet quoting conventions, a wide range of bulleting and number schemes, centered text, and block quotations, and reformats each appropriately. Other options allow the user to adjust inter-word and inter-paragraph spacing, justify text, and impose various capitalization schemes. The module also supplies a re-entrant, highly configurable replacement for the built-in Perl format() mechanism.

We can use yum or dnf to install perl-Text-Autoformat on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Text-Autoformat.

Install perl-Text-Autoformat on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Text-Autoformat using yum by running the following command:

sudo yum -y install perl-Text-Autoformat

Install perl-Text-Autoformat on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Text-Autoformat using dnf by running the following command:

sudo dnf -y install perl-Text-Autoformat

How To Uninstall perl-Text-Autoformat on CentOS 7

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

sudo dnf remove perl-Text-Autoformat

References

Summary

In this tutorial we learn how to install perl-Text-Autoformat on CentOS 7 using yum and dnf.