How To Install python-excelerator on Debian 9

In this tutorial we learn how to install python-excelerator on Debian 9. python-excelerator is module for reading/writing Excel spreadsheet files

Introduction

In this tutorial we learn how to install python-excelerator on Debian 9.

What is python-excelerator

python-excelerator is:

pyExcelerator is a Python module that can generate Excel 97/2000/XP/2003 spreadsheet files. It can also extract data from these files. It supports Unicode in Excel files, and can use a variety of formatting features and printing options. It can dump Excel and OLE2 compound files. Included are simple conversion tools py_xls2html, py_xls2csv and py_xls2txt.

There are three methods to install python-excelerator on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-excelerator Using apt-get

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

sudo apt-get update

After updating apt database, We can install python-excelerator using apt-get by running the following command:

sudo apt-get -y install python-excelerator

Install python-excelerator Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-excelerator using apt by running the following command:

sudo apt -y install python-excelerator

Install python-excelerator Using aptitude

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

sudo aptitude update

After updating apt database, We can install python-excelerator using aptitude by running the following command:

sudo aptitude -y install python-excelerator

How To Uninstall python-excelerator on Debian 9

To uninstall only the python-excelerator package we can use the following command:

sudo apt-get remove python-excelerator

Uninstall python-excelerator And Its Dependencies

To uninstall python-excelerator and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-excelerator

Remove python-excelerator Configurations and Data

To remove python-excelerator configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-excelerator

Remove python-excelerator configuration, data, and all of its dependencies

We can use the following command to remove python-excelerator configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-excelerator

Dependencies

python-excelerator have the following dependencies:

References

Summary

In this tutorial we learn how to install python-excelerator package on Debian 9 using different package management tools: apt, apt-get and aptitude.