How To Install python-plaster on Debian 10

Learn how to install python-plaster on Debian 10 with this tutorial. python-plaster is Python multi-format configuration file loader interface - Python 2.x module

Introduction

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

What is python-plaster

python-plaster is:

plaster is a loader interface around arbitrary config file formats. It exists to define a common API for applications to use when they wish to load configuration settings.

The library itself does not aim to handle anything except a basic API that applications may use to find and load configuration settings. Any specific constraints should be implemented in a pluggable loader which can be registered via an entrypoint.

This package provides the Python 2 version of the module.

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

sudo apt-get -y install python-plaster

Install python-plaster Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-plaster

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

sudo aptitude -y install python-plaster

How To Uninstall python-plaster on Debian 10

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

sudo apt-get remove python-plaster

Uninstall python-plaster And Its Dependencies

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

sudo apt-get -y autoremove python-plaster

Remove python-plaster Configurations and Data

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

sudo apt-get -y purge python-plaster

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

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

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

Dependencies

python-plaster have the following dependencies:

References

Summary

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