How To Install python-paisley on Debian 9

In this tutorial we learn how to install python-paisley on Debian 9. python-paisley is CouchDB client written in Python to be used within a Twisted application

Introduction

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

What is python-paisley

python-paisley is:

Paisley implements the CouchDB API for Twisted.

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

sudo apt-get -y install python-paisley

Install python-paisley Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-paisley

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

sudo aptitude -y install python-paisley

How To Uninstall python-paisley on Debian 9

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

sudo apt-get remove python-paisley

Uninstall python-paisley And Its Dependencies

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

sudo apt-get -y autoremove python-paisley

Remove python-paisley Configurations and Data

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

sudo apt-get -y purge python-paisley

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

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

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

Dependencies

python-paisley have the following dependencies:

References

Summary

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