How To Install lm_sensors-sensord on Rocky Linux 8

In this tutorial we learn how to install lm_sensors-sensord on Rocky Linux 8. lm_sensors-sensord is Daemon that periodically logs sensor readings

Introduction

In this tutorial we learn how to install lm_sensors-sensord on Rocky Linux 8.

What is lm_sensors-sensord

Daemon that periodically logs sensor readings to syslog or a round-robin database, and warns of sensor alarms.

We can use yum or dnf to install lm_sensors-sensord on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lm_sensors-sensord.

Install lm_sensors-sensord on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install lm_sensors-sensord

Install lm_sensors-sensord on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install lm_sensors-sensord

How To Uninstall lm_sensors-sensord on Rocky Linux 8

To uninstall only the lm_sensors-sensord package we can use the following command:

sudo dnf remove lm_sensors-sensord

lm_sensors-sensord Package Contents on Rocky Linux 8

/etc/sysconfig/sensord
/usr/lib/.build-id
/usr/lib/.build-id/f0/5f9e1d421a2d5264e5339e69f55c957d9c13e0
/usr/lib/systemd/system/sensord.service
/usr/libexec/lm_sensors/sensord-service-wrapper
/usr/sbin/sensord
/usr/share/doc/lm_sensors-sensord
/usr/share/doc/lm_sensors-sensord/README
/usr/share/man/man8/sensord.8.gz

References

Summary

In this tutorial we learn how to install lm_sensors-sensord on Rocky Linux 8 using yum and dnf.