How To Install libspreadsheet-read-perl on Kali Linux

In this tutorial we learn how to install libspreadsheet-read-perl on Kali Linux. libspreadsheet-read-perl is reader for common spreadsheet formats

Introduction

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

What is libspreadsheet-read-perl

libspreadsheet-read-perl is:

Spreadsheet::Read is a Perl module that tries to transparently read any spreadsheet and return its content in a universal manner independent of the parsing module that does the actual spreadsheet scanning.

For OpenOffice and/or LibreOffice files, this module uses Spreadsheet::ReadSXC (libspreadsheet-readsxc-perl).

For Microsoft Excel, this module uses Spreadsheet::ParseExcel (libspreadsheet-parseexcel-perl), or Spreadsheet::ParseXLSX libspreadsheet-parsexlsx-perl).

For Comma-Separated Value (CSV) files, this module uses Text::CSV_XS (libtext-csv-xs-perl) or Text::CSV_PP (libtext-csv-perl).

For SquirrelCalc, there is a very simplistic built-in parser.

There are three methods to install libspreadsheet-read-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-read-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-read-perl using apt-get by running the following command:

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

Install libspreadsheet-read-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libspreadsheet-read-perl

Install libspreadsheet-read-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-read-perl using aptitude by running the following command:

sudo aptitude -y install libspreadsheet-read-perl

How To Uninstall libspreadsheet-read-perl on Kali Linux

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

sudo apt-get remove libspreadsheet-read-perl

Uninstall libspreadsheet-read-perl And Its Dependencies

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

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

Remove libspreadsheet-read-perl Configurations and Data

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

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

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

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

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

Dependencies

libspreadsheet-read-perl have the following dependencies:

References

Summary

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