How To Install catatonit on Fedora 34

catatonit is A signal-forwarding process manager for containers

Introduction

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

What is catatonit

Catatonit is a /sbin/init program for use within containers. It forwards (almost) all signals to the spawned child, tears down the container when the spawned child exits, and otherwise cleans up other exited processes (zombies). This is a reimplementation of other container init programs (such as “tini” or “dumb-init”), but uses modern Linux facilities (such as signalfd(2)) and has no additional features.

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

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

sudo dnf -y install catatonit

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

sudo yum -y install catatonit

How To Uninstall catatonit on Fedora 34

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

sudo dnf remove catatonit

catatonit Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/e13d3068cca5d361bb0ab4eb94270217c4227a
/usr/libexec/catatonit
/usr/libexec/catatonit/catatonit
/usr/libexec/podman
/usr/libexec/podman/catatonit
/usr/share/doc/catatonit
/usr/share/doc/catatonit/README.md
/usr/share/licenses/catatonit
/usr/share/licenses/catatonit/COPYING

References

Summary

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