How To Install ledmon.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ledmon.x86_64 in Amazon Linux 2. ledmon.x86_64 is Enclosure LED Utilities

Introduction

In this tutorial we learn how to install ledmon.x86_64 on Amazon Linux 2.

What is ledmon.x86_64

The ledmon and ledctl are user space applications design to control LED associated with each slot in an enclosure or a drive bay. There are two types of system Status LED) and 3-LED system (Activity LED, Locate LED, Fail LED). User must have root privileges to use this application.

We can use yum to install ledmon.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ledmon.x86_64.

Install ledmon.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ledmon.x86_64 using yum by running the following command:

sudo yum -y install ledmon.x86_64

How To Uninstall ledmon.x86_64 on Amazon Linux 2

To uninstall only the ledmon.x86_64 package we can use the following command:

sudo yum remove ledmon.x86_64

ledmon.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/ledctl
/usr/sbin/ledmon
/usr/share/doc/ledmon-0.80
/usr/share/doc/ledmon-0.80/COPYING
/usr/share/doc/ledmon-0.80/README
/usr/share/man/man5/ledctl.conf.5.gz
/usr/share/man/man8/ledctl.8.gz
/usr/share/man/man8/ledmon.8.gz

References

Summary

In this tutorial we learn how to install ledmon.x86_64 on Amazon Linux 2 using yum.