How To Install python-flower on Debian 9
Introduction
In this tutorial we learn how to install python-flower on Debian 9.
What is python-flower
python-flower is:
Flower is a web based tool for monitoring and administrating Celery clusters. It has these features:
- Real-time monitoring using Celery Events
- Task progress and history
- Ability to show task details (arguments, start time, runtime, and more)
- Graphs and statistics
- Remote Control
- View worker status and statistics
- Shutdown and restart worker instances
- Control worker pool size and autoscale settings
- View and modify the queues a worker instance consumes from
- View currently running tasks
- View scheduled tasks (ETA/countdown)
- View reserved and revoked tasks
- Apply time and rate limits
- Configuration viewer
- Revoke or terminate tasks
- Broker monitoring
- View statistics for all Celery queues
- Queue length graphs
- HTTP API
- Basic Auth and Google OpenID authentication
There are three methods to install python-flower on Debian 9. 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-flower 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-flower using apt-get by running the following command:
sudo apt-get -y install python-flower
Install python-flower Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-flower using apt by running the following command:
sudo apt -y install python-flower
Install python-flower 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-flower using aptitude by running the following command:
sudo aptitude -y install python-flower
How To Uninstall python-flower on Debian 9
To uninstall only the python-flower package we can use the following command:
sudo apt-get remove python-flower
Uninstall python-flower And Its Dependencies
To uninstall python-flower and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-flower
Remove python-flower Configurations and Data
To remove python-flower configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-flower
Remove python-flower configuration, data, and all of its dependencies
We can use the following command to remove python-flower configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-flower
Dependencies
python-flower have the following dependencies:
- libjs-d3
- libjs-jquery
- libjs-jquery-ui
- libjs-rickshaw
- libjs-twitter-bootstrap
- python-babel
- python-celery
- python-concurrent.futures
- python-tornado
- python-tz
- python
References
Summary
In this tutorial we learn how to install python-flower package on Debian 9 using different package management tools: apt, apt-get and aptitude.