How To Install python3-monasca-statsd on Debian 10

Learn how to install python3-monasca-statsd on Debian 10 with this tutorial. python3-monasca-statsd is monasca statsd client - Python 3.x

Introduction

In this tutorial we learn how to install python3-monasca-statsd on Debian 10.

What is python3-monasca-statsd

python3-monasca-statsd is:

Monasca is a highly scalable, performant, fault-tolerant monitoring-as-a-service solution that integrates with OpenStack. It uses a REST API for high-speed metrics processing and querying and has a streaming alarm engine and notification engine.

This Python module provides a client to connect to Monasca’s statsd REST API. With this client, you can handle counters, gauge, get histograms, timers and more.

This package contains the Python 3.x module.

There are three methods to install python3-monasca-statsd 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 python3-monasca-statsd Using apt-get

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

sudo apt-get update

After updating apt database, We can install python3-monasca-statsd using apt-get by running the following command:

sudo apt-get -y install python3-monasca-statsd

Install python3-monasca-statsd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-monasca-statsd using apt by running the following command:

sudo apt -y install python3-monasca-statsd

Install python3-monasca-statsd 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 python3-monasca-statsd using aptitude by running the following command:

sudo aptitude -y install python3-monasca-statsd

How To Uninstall python3-monasca-statsd on Debian 10

To uninstall only the python3-monasca-statsd package we can use the following command:

sudo apt-get remove python3-monasca-statsd

Uninstall python3-monasca-statsd And Its Dependencies

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

sudo apt-get -y autoremove python3-monasca-statsd

Remove python3-monasca-statsd Configurations and Data

To remove python3-monasca-statsd configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge python3-monasca-statsd

Remove python3-monasca-statsd configuration, data, and all of its dependencies

We can use the following command to remove python3-monasca-statsd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-monasca-statsd

Dependencies

python3-monasca-statsd have the following dependencies:

References

Summary

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