How To Install mod-gearman-worker on Debian 10
Introduction
In this tutorial we learn how to install mod-gearman-worker
on Debian 10.
What is mod-gearman-worker
mod-gearman-worker is:
The worker agent for Mod-Gearman connects to a Gearman job server, runs active Icinga/Nagios service checks, and return the results.
The worker can ask for any available check, or it can be bound to specific hostgroups or servicegroups.
There are three methods to install mod-gearman-worker
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 mod-gearman-worker Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mod-gearman-worker
using apt-get
by running the following command:
sudo apt-get -y install mod-gearman-worker
Install mod-gearman-worker Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mod-gearman-worker
using apt
by running the following command:
sudo apt -y install mod-gearman-worker
Install mod-gearman-worker 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 mod-gearman-worker
using aptitude
by running the following command:
sudo aptitude -y install mod-gearman-worker
How To Uninstall mod-gearman-worker on Debian 10
To uninstall only the mod-gearman-worker
package we can use the following command:
sudo apt-get remove mod-gearman-worker
Uninstall mod-gearman-worker And Its Dependencies
To uninstall mod-gearman-worker
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove mod-gearman-worker
Remove mod-gearman-worker Configurations and Data
To remove mod-gearman-worker
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge mod-gearman-worker
Remove mod-gearman-worker configuration, data, and all of its dependencies
We can use the following command to remove mod-gearman-worker
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mod-gearman-worker
Dependencies
mod-gearman-worker have the following dependencies:
References
Summary
In this tutorial we learn how to install mod-gearman-worker
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.