How To Install libspreadsheet-writeexcel-simple-perl on Kali Linux

In this tutorial we learn how to install libspreadsheet-writeexcel-simple-perl on Kali Linux. libspreadsheet-writeexcel-simple-perl is module providing simple creation of single-sheet Excel documents

Introduction

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

What is libspreadsheet-writeexcel-simple-perl

libspreadsheet-writeexcel-simple-perl is:

Spreadsheet::WriteExcel::Simple provides an abstraction to the Spreadsheet::WriteExcel module for easier creation of simple single-sheet Excel documents.

In its most basic form it provides two methods for writing data:

  • write_row
  • write_bold_row

which write the data supplied to the next row of the spreadsheet.

However, you can also use $ss->book and $ss->sheet to get at the underlying workbook and worksheet from Spreadsheet::WriteExcel if you wish to manipulate these directly.

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

sudo apt-get -y install libspreadsheet-writeexcel-simple-perl

Install libspreadsheet-writeexcel-simple-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libspreadsheet-writeexcel-simple-perl

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

sudo aptitude -y install libspreadsheet-writeexcel-simple-perl

How To Uninstall libspreadsheet-writeexcel-simple-perl on Kali Linux

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

sudo apt-get remove libspreadsheet-writeexcel-simple-perl

Uninstall libspreadsheet-writeexcel-simple-perl And Its Dependencies

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

sudo apt-get -y autoremove libspreadsheet-writeexcel-simple-perl

Remove libspreadsheet-writeexcel-simple-perl Configurations and Data

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

sudo apt-get -y purge libspreadsheet-writeexcel-simple-perl

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

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

sudo apt-get -y autoremove --purge libspreadsheet-writeexcel-simple-perl

Dependencies

libspreadsheet-writeexcel-simple-perl have the following dependencies:

References

Summary

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