How To Install python-paver on Debian 9

In this tutorial we learn how to install python-paver on Debian 9. python-paver is Easy build, distribution and deployment scripting in Python

Introduction

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

What is python-paver

python-paver is:

Paver is a Python-based build/distribution/deployment scripting tool along the lines of Make or Rake. What makes Paver unique is its integration with commonly used Python libraries. Common tasks that were easy before remain easy. More importantly, dealing with your applications specific needs and requirements is also easy

It is not designed to handle the dependency tracking requirements of, for example, a C program. It is designed to help out with all of your other repetitive tasks (run documentation generators, moving files about, downloading things), all with the convenience of Python’s syntax and massive library of code.

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

sudo apt-get -y install python-paver

Install python-paver Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-paver

Install python-paver 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-paver using aptitude by running the following command:

sudo aptitude -y install python-paver

How To Uninstall python-paver on Debian 9

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

sudo apt-get remove python-paver

Uninstall python-paver And Its Dependencies

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

sudo apt-get -y autoremove python-paver

Remove python-paver Configurations and Data

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

sudo apt-get -y purge python-paver

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

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

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

Dependencies

python-paver have the following dependencies:

References

Summary

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