How To Install python-monasca-statsd on Debian 10
Introduction
In this tutorial we learn how to install python-monasca-statsd on Debian 10.
What is python-monasca-statsd
python-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 2.7 module.
There are three methods to install python-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 python-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 python-monasca-statsd using apt-get by running the following command:
sudo apt-get -y install python-monasca-statsd
Install python-monasca-statsd Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-monasca-statsd using apt by running the following command:
sudo apt -y install python-monasca-statsd
Install python-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 python-monasca-statsd using aptitude by running the following command:
sudo aptitude -y install python-monasca-statsd
How To Uninstall python-monasca-statsd on Debian 10
To uninstall only the python-monasca-statsd package we can use the following command:
sudo apt-get remove python-monasca-statsd
Uninstall python-monasca-statsd And Its Dependencies
To uninstall python-monasca-statsd and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-monasca-statsd
Remove python-monasca-statsd Configurations and Data
To remove python-monasca-statsd configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-monasca-statsd
Remove python-monasca-statsd configuration, data, and all of its dependencies
We can use the following command to remove python-monasca-statsd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-monasca-statsd
Dependencies
python-monasca-statsd have the following dependencies:
References
Summary
In this tutorial we learn how to install python-monasca-statsd package on Debian 10 using different package management tools: apt, apt-get and aptitude.