How To Install perl-Spreadsheet-XLSX on CentOS 7

In this tutorial we learn how to install perl-Spreadsheet-XLSX on CentOS 7. perl-Spreadsheet-XLSX is Perl extension for reading Microsoft Excel 2007 files

Introduction

In this tutorial we learn how to install perl-Spreadsheet-XLSX on CentOS 7.

What is perl-Spreadsheet-XLSX

The Spreadsheet Spreadsheet quick and dirty way. It supports styles and many of the Excel’s quirks, but not all. It populates the classes from Spreadsheet worksheet and cell.

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

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

sudo yum -y install perl-Spreadsheet-XLSX

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

sudo dnf -y install perl-Spreadsheet-XLSX

How To Uninstall perl-Spreadsheet-XLSX on CentOS 7

To uninstall only the perl-Spreadsheet-XLSX package we can use the following command:

sudo dnf remove perl-Spreadsheet-XLSX

References

Summary

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