How To Install python-pyrrd on Debian 10
Introduction
In this tutorial we learn how to install python-pyrrd on Debian 10.
What is python-pyrrd
python-pyrrd is:
PyRRD is a module that wraps RRDTool (round-robin database tool) to allow for the greatest possible programmatic ease in creating, updating, querying and graphing RRD data. The idea is to make RRDTool insanely easy to use and to be aesthetically pleasing for Python programmers.
It is different from python-rrdtool, which is more a simple way to use rrdtool as by command line, because python-pyrrd wraps options in objects that are more easy and comfortable to use.
There are three methods to install python-pyrrd 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-pyrrd 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-pyrrd using apt-get by running the following command:
sudo apt-get -y install python-pyrrd
Install python-pyrrd Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-pyrrd using apt by running the following command:
sudo apt -y install python-pyrrd
Install python-pyrrd 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-pyrrd using aptitude by running the following command:
sudo aptitude -y install python-pyrrd
How To Uninstall python-pyrrd on Debian 10
To uninstall only the python-pyrrd package we can use the following command:
sudo apt-get remove python-pyrrd
Uninstall python-pyrrd And Its Dependencies
To uninstall python-pyrrd and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-pyrrd
Remove python-pyrrd Configurations and Data
To remove python-pyrrd configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-pyrrd
Remove python-pyrrd configuration, data, and all of its dependencies
We can use the following command to remove python-pyrrd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-pyrrd
Dependencies
python-pyrrd have the following dependencies:
References
Summary
In this tutorial we learn how to install python-pyrrd package on Debian 10 using different package management tools: apt, apt-get and aptitude.