How To Install mod-gearman-doc on Ubuntu 18.04

In this tutorial we learn how to install mod-gearman-doc on Ubuntu 18.04. mod-gearman-doc is Documentation and examples for Mod-Gearman

Introduction

In this tutorial we learn how to install mod-gearman-doc on Ubuntu 18.04.

What is mod-gearman-doc

mod-gearman-doc is:

Mod-Gearman is an easy way of distributing active Icinga/Nagios checks across your network and increasing nagios scalability. Mod-Gearman can even help to reduce the load on a single nagios host, because its much smaller and more efficient in executing checks.

This package contains documentation and examples common to the mod-gearman-module and mod-gearman-worker packages.

There are three methods to install mod-gearman-doc on Ubuntu 18.04. 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-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install mod-gearman-doc

Install mod-gearman-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mod-gearman-doc using apt by running the following command:

sudo apt -y install mod-gearman-doc

Install mod-gearman-doc 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install mod-gearman-doc using aptitude by running the following command:

sudo aptitude -y install mod-gearman-doc

How To Uninstall mod-gearman-doc on Ubuntu 18.04

To uninstall only the mod-gearman-doc package we can use the following command:

sudo apt-get remove mod-gearman-doc

Uninstall mod-gearman-doc And Its Dependencies

To uninstall mod-gearman-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove mod-gearman-doc

Remove mod-gearman-doc Configurations and Data

To remove mod-gearman-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge mod-gearman-doc

Remove mod-gearman-doc configuration, data, and all of its dependencies

We can use the following command to remove mod-gearman-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mod-gearman-doc

References

Summary

In this tutorial we learn how to install mod-gearman-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.