How To Install perl-Text-Table on CentOS 7

In this tutorial we learn how to install perl-Text-Table on CentOS 7. perl-Text-Table is Organize Data in Tables

Introduction

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

What is perl-Text-Table

Organization of data in table form is a time-honored and useful method of data representation. While columns of data are trivially generated by computer through formatted output, even simple tasks like keeping titles aligned with the data columns are not trivial, and the one-shot solutions one comes up with tend to be particularly hard to maintain. Text and maintain tables that adapt to alignment requirements as you use them.

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

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

sudo yum -y install perl-Text-Table

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

sudo dnf -y install perl-Text-Table

How To Uninstall perl-Text-Table on CentOS 7

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

sudo dnf remove perl-Text-Table

References

Summary

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