How To Install dumb-init on Fedora 36

In this tutorial we learn how to install dumb-init in Fedora 36. dumb-init is Entry-point for containers that proxies signals

Introduction

In this tutorial we learn how to install dumb-init on Fedora 36.

What is dumb-init

dumb-init is a simple process supervisor and init system designed to run as PID 1 inside minimal container environments (such as Podman and Docker). * It can handle orphaned zombie processes. * It can pass signals properly for simple containers.

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

Install dumb-init on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install dumb-init

Install dumb-init on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dumb-init using yum by running the following command:

sudo yum -y install dumb-init

How To Uninstall dumb-init on Fedora 36

To uninstall only the dumb-init package we can use the following command:

sudo dnf remove dumb-init

dumb-init Package Contents on Fedora 36

/usr/bin/dumb-init
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/a5ed55124954aa5a586a87f56167ab7ed9c66f
/usr/share/doc/dumb-init
/usr/share/doc/dumb-init/README.md
/usr/share/licenses/dumb-init
/usr/share/licenses/dumb-init/LICENSE
/usr/share/man/man1/dumb-init.1.gz

References

Summary

In this tutorial we learn how to install dumb-init on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).