How To Install multiwatch on Fedora 34

multiwatch is Forks and watches multiple instances of a program in the same context

Introduction

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

What is multiwatch

Multiwatch forks multiple instance of one application and keeps them running. It is made to be used with spawn-fcgi, so all forks share the same fastcgi socket (no web server restart needed if you increase/decrease the number of forks), and it is easier than setting up multiple daemontool supervised instances.

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

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

sudo dnf -y install multiwatch

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

sudo yum -y install multiwatch

How To Uninstall multiwatch on Fedora 34

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

sudo dnf remove multiwatch

multiwatch Package Contents on Fedora 34

/usr/bin/multiwatch
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/19b0a8d041ef7106a511f313448d4144ee7881
/usr/share/doc/multiwatch
/usr/share/doc/multiwatch/README
/usr/share/licenses/multiwatch
/usr/share/licenses/multiwatch/COPYING
/usr/share/man/man1/multiwatch.1.gz

References

Summary

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