How To Install gofer on Fedora 34

gofer is A lightweight, extensible python agent

Introduction

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

What is gofer

Gofer provides an extensible, light weight, universal python agent. The gofer core agent is a python daemon (service) that provides infrastructure for exposing a remote API and for running Recurring Actions. The APIs contributed by plug-ins are accessible by Remote Method Invocation (RMI). The transport for RMI is AMQP using an AMQP message broker. Actions are also provided by plug-ins and are executed at the specified interval.

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

Install gofer 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 gofer using dnf by running the following command:

sudo dnf -y install gofer

Install gofer 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 gofer using yum by running the following command:

sudo yum -y install gofer

How To Uninstall gofer on Fedora 34

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

sudo dnf remove gofer

gofer Package Contents on Fedora 34

/etc/gofer
/etc/gofer/agent.conf
/etc/gofer/conf.d
/etc/gofer/plugins
/etc/gofer/plugins/demo.conf
/etc/sysconfig/goferd
/usr/bin/goferd
/usr/lib/gofer/plugins
/usr/lib/systemd/system/goferd.service
/usr/share/doc/gofer
/usr/share/doc/gofer/LICENSE
/usr/share/gofer/plugins
/usr/share/gofer/plugins/demo.py
/usr/share/man/man1/goferd.1.gz

References

Summary

In this tutorial we learn how to install gofer on Fedora 34 using yum and dnf.