How To Install python-celery-common on Debian 10
Introduction
In this tutorial we learn how to install python-celery-common
on Debian 10.
What is python-celery-common
python-celery-common is:
Celery is an open source asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.
The execution units, called tasks, are executed concurrently on one or more worker nodes. Tasks can execute asynchronously (in the background) or synchronously (wait until ready).
Celery is written in Python, but the protocol can be implemented in any language. It can also operate with other languages using webhooks.
The recommended message broker is RabbitMQ, but limited support for Redis, Beanstalk, MongoDB, CouchDB, and databases (using SQLAlchemy or the Django ORM) is also available. Celery is easy to integrate with Django, using the python-django-celery package.
This package contains the common files of the library.
There are three methods to install python-celery-common
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-celery-common 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-celery-common
using apt-get
by running the following command:
sudo apt-get -y install python-celery-common
Install python-celery-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-celery-common
using apt
by running the following command:
sudo apt -y install python-celery-common
Install python-celery-common 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-celery-common
using aptitude
by running the following command:
sudo aptitude -y install python-celery-common
How To Uninstall python-celery-common on Debian 10
To uninstall only the python-celery-common
package we can use the following command:
sudo apt-get remove python-celery-common
Uninstall python-celery-common And Its Dependencies
To uninstall python-celery-common
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-celery-common
Remove python-celery-common Configurations and Data
To remove python-celery-common
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-celery-common
Remove python-celery-common configuration, data, and all of its dependencies
We can use the following command to remove python-celery-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-celery-common
Dependencies
python-celery-common have the following dependencies:
References
Summary
In this tutorial we learn how to install python-celery-common
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.