How To Install libspreadsheet-readsxc-perl on Kali Linux

In this tutorial we learn how to install libspreadsheet-readsxc-perl on Kali Linux. libspreadsheet-readsxc-perl is reader for OpenOffice 1.x and OpenDocument spreadsheets

Introduction

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

What is libspreadsheet-readsxc-perl

libspreadsheet-readsxc-perl is:

Spreadsheet::ReadSXC extracts data from OpenOffice 1.x spreadsheet files (.sxc). It exports the function read_sxc() which takes a filename and an optional reference to a hash of options as arguments and returns a reference to a hash of references to two-dimensional arrays. The hash keys correspond to the names of worksheets in the OpenOffice workbook. The two-dimensional arrays correspond to rows and cells in the respective spreadsheets.

Spreadsheet::ReadSXC is a wrapper around Spreadsheet::ParseODS, which reads both SXC and ODS files.

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

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

Install libspreadsheet-readsxc-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libspreadsheet-readsxc-perl

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

sudo aptitude -y install libspreadsheet-readsxc-perl

How To Uninstall libspreadsheet-readsxc-perl on Kali Linux

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

sudo apt-get remove libspreadsheet-readsxc-perl

Uninstall libspreadsheet-readsxc-perl And Its Dependencies

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

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

Remove libspreadsheet-readsxc-perl Configurations and Data

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

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

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

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

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

Dependencies

libspreadsheet-readsxc-perl have the following dependencies:

References

Summary

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