How To Install gearmand on CentOS 8

gearmand is A distributed job system

Introduction

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

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 8. In this tutorial we discuss both methods but you only need to choose one of method to install gearmand.

Install gearmand on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install gearmand

Install gearmand on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install gearmand

How To Uninstall gearmand on CentOS 8

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

sudo dnf remove gearmand

gearmand Package Contents on CentOS 8

/etc/sysconfig/gearmand
/usr/bin/gearadmin
/usr/bin/gearman
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/9b065773e95354db8bd8e2c61ac6e8386279bf
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/74c50ede5aa3b3117af888c04f0fd4ae9fd8c2
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/7262507523173700b4852ab07929940b3e10f8
/usr/lib/systemd/system/gearmand.service
/usr/sbin/gearmand
/usr/share/doc/gearmand
/usr/share/doc/gearmand/AUTHORS
/usr/share/doc/gearmand/ChangeLog
/usr/share/doc/gearmand/HACKING
/usr/share/doc/gearmand/THANKS
/usr/share/licenses/gearmand
/usr/share/licenses/gearmand/COPYING
/usr/share/man/man1/gearadmin.1.gz
/usr/share/man/man1/gearman.1.gz
/usr/share/man/man8/gearmand.8.gz

References

Summary

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