How To Install low-memory-monitor on Fedora 36

In this tutorial we learn how to install low-memory-monitor in Fedora 36. low-memory-monitor is Monitors low-memory conditions

Introduction

In this tutorial we learn how to install low-memory-monitor on Fedora 36.

What is low-memory-monitor

The Low Memory Monitor is an early boot daemon that will monitor memory pressure information coming from the kernel, and, first, send a signal to user-space applications when memory is running low, and then activate the kernel’s OOM killer when memory is running really low.

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

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

sudo dnf -y install low-memory-monitor

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

sudo yum -y install low-memory-monitor

How To Uninstall low-memory-monitor on Fedora 36

To uninstall only the low-memory-monitor package we can use the following command:

sudo dnf remove low-memory-monitor

low-memory-monitor Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/f769103f4a8ad00864eb20085698787c1dd325
/usr/lib/systemd/system/low-memory-monitor.service
/usr/libexec/low-memory-monitor
/usr/share/dbus-1/system.d/org.freedesktop.LowMemoryMonitor.conf
/usr/share/doc/low-memory-monitor
/usr/share/doc/low-memory-monitor/NEWS
/usr/share/doc/low-memory-monitor/README.md
/usr/share/licenses/low-memory-monitor
/usr/share/licenses/low-memory-monitor/COPYING

References

Summary

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