How To Install gearmand on Fedora 34

gearmand is A distributed job system

Introduction

In this tutorial we learn how to install gearmand on Fedora 34.

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

Install gearmand on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove gearmand

gearmand Package Contents on Fedora 34

/etc/sysconfig/gearmand
/usr/bin/gearadmin
/usr/bin/gearman
/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/d8ed7a811d054bbd2a6e8a957e6aa39d67c2b6
/usr/lib/.build-id/99
/usr/lib/.build-id/99/546424bbf925fe811cd6c06592971389c979d1
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/eff53aff1747f59e3e751406ebd8c33f065d8b
/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 Fedora 34 using yum and dnf.