How To Install earlyoom on Fedora 36

In this tutorial we learn how to install earlyoom in Fedora 36. earlyoom is Early OOM Daemon for Linux

Introduction

In this tutorial we learn how to install earlyoom on Fedora 36.

What is earlyoom

User-space OOM killer daemon that can avoid the system going into the unresponsive state. It checks the amount of available memory and free swap up to 10 times a second (less often if there is a lot of free memory) and kills the largest processes with the highest oom_score. Percentages are configured through the configuration file.

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

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

sudo dnf -y install earlyoom

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

sudo yum -y install earlyoom

How To Uninstall earlyoom on Fedora 36

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

sudo dnf remove earlyoom

earlyoom Package Contents on Fedora 36

/etc/default/earlyoom
/usr/bin/earlyoom
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/91ba3e1834e60e3af3a1044fab98a4037c8cec
/usr/lib/systemd/system/earlyoom.service
/usr/share/doc/earlyoom
/usr/share/doc/earlyoom/README.md
/usr/share/licenses/earlyoom
/usr/share/licenses/earlyoom/LICENSE
/usr/share/man/man1/earlyoom.1.gz

References

Summary

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