How To Install python-poster on Debian 10

Learn how to install python-poster on Debian 10 with this tutorial. python-poster is Python support for HTTP multipart PUT/POST

Introduction

In this tutorial we learn how to install python-poster on Debian 10.

What is python-poster

python-poster is:

The Python standard library is missing support for multipart HTTP uploads and the poster module provides that.

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

sudo apt-get -y install python-poster

Install python-poster Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-poster

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

sudo aptitude -y install python-poster

How To Uninstall python-poster on Debian 10

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

sudo apt-get remove python-poster

Uninstall python-poster And Its Dependencies

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

sudo apt-get -y autoremove python-poster

Remove python-poster Configurations and Data

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

sudo apt-get -y purge python-poster

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

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

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

Dependencies

python-poster have the following dependencies:

References

Summary

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