How To Install perl-HTML-Table on CentOS 7

In this tutorial we learn how to install perl-HTML-Table on CentOS 7. perl-HTML-Table is Create HTML tables using simple interface

Introduction

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

What is perl-HTML-Table

HTML using the methods provided fairly complex tables can be created, manipulated, then printed from Perl scripts. The module also greatly simplifies creating tables within tables from Perl. It is possible to create an entire table using the methods provided and never use an HTML tag. HTML its addRow and addCol methods. These methods automatically resize the table if passed more cell values than will fit in the current table grid. Methods are provided for nearly all valid table, row, and cell tags specified for HTML 3.0.

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

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

sudo yum -y install perl-HTML-Table

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

sudo dnf -y install perl-HTML-Table

How To Uninstall perl-HTML-Table on CentOS 7

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

sudo dnf remove perl-HTML-Table

References

Summary

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