How To Install gearmand on CentOS 7

In this tutorial we learn how to install gearmand on CentOS 7. gearmand is A distributed job system

Introduction

In this tutorial we learn how to install gearmand on CentOS 7.

What is gearmand

Gearman provides a generic framework to farm out work to other machines or dispatch function calls to machines that are better suited to do the work. It allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport for database replication. In other words, it is the nervous system for how distributed processing communicates.

We can use yum or dnf to install gearmand on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gearmand.

Install gearmand on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gearmand using yum by running the following command:

sudo yum -y install gearmand

Install gearmand on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install gearmand using dnf by running the following command:

sudo dnf -y install gearmand

How To Uninstall gearmand on CentOS 7

To uninstall only the gearmand package we can use the following command:

sudo dnf remove gearmand

References

Summary

In this tutorial we learn how to install gearmand on CentOS 7 using yum and dnf.