How To Install libspreadsheet-xlsx-perl on Kali Linux

In this tutorial we learn how to install libspreadsheet-xlsx-perl on Kali Linux. libspreadsheet-xlsx-perl is Perl extension for reading MS Excel 2007 files

Introduction

In this tutorial we learn how to install libspreadsheet-xlsx-perl on Kali Linux.

What is libspreadsheet-xlsx-perl

libspreadsheet-xlsx-perl is:

Spreadsheet::XLSX emulates the behaviour of Spreadsheet::ParseExcel for the Excel 2007 (.xlsx) file format. It supports styles and many, but not all, of Excel’s quirks. It populates the classes from Spreadsheet::ParseExcel for interoperability; including Workbook, Worksheet, and Cell.

There are three methods to install libspreadsheet-xlsx-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libspreadsheet-xlsx-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libspreadsheet-xlsx-perl using apt-get by running the following command:

sudo apt-get -y install libspreadsheet-xlsx-perl

Install libspreadsheet-xlsx-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libspreadsheet-xlsx-perl using apt by running the following command:

sudo apt -y install libspreadsheet-xlsx-perl

Install libspreadsheet-xlsx-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libspreadsheet-xlsx-perl using aptitude by running the following command:

sudo aptitude -y install libspreadsheet-xlsx-perl

How To Uninstall libspreadsheet-xlsx-perl on Kali Linux

To uninstall only the libspreadsheet-xlsx-perl package we can use the following command:

sudo apt-get remove libspreadsheet-xlsx-perl

Uninstall libspreadsheet-xlsx-perl And Its Dependencies

To uninstall libspreadsheet-xlsx-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libspreadsheet-xlsx-perl

Remove libspreadsheet-xlsx-perl Configurations and Data

To remove libspreadsheet-xlsx-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libspreadsheet-xlsx-perl

Remove libspreadsheet-xlsx-perl configuration, data, and all of its dependencies

We can use the following command to remove libspreadsheet-xlsx-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libspreadsheet-xlsx-perl

Dependencies

libspreadsheet-xlsx-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libspreadsheet-xlsx-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.