How To Install lm_sensors.x86_64 on Amazon Linux 2

In this tutorial we learn how to install lm_sensors.x86_64 in Amazon Linux 2. lm_sensors.x86_64 is Hardware monitoring tools

Introduction

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

What is lm_sensors.x86_64

The lm_sensors package includes a collection of modules for general SMBus access and hardware monitoring.

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

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

sudo yum -y install lm_sensors.x86_64

How To Uninstall lm_sensors.x86_64 on Amazon Linux 2

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

sudo yum remove lm_sensors.x86_64

lm_sensors.x86_64 Package Contents on Amazon Linux 2

/etc/sensors3.conf
/etc/sysconfig/lm_sensors
/usr/bin/sensors
/usr/bin/sensors-conf-convert
/usr/lib/systemd/system/fancontrol.service
/usr/lib/systemd/system/lm_sensors.service
/usr/libexec/lm_sensors/modprobe
/usr/libexec/lm_sensors/modprobe-r
/usr/sbin/fancontrol
/usr/sbin/isadump
/usr/sbin/isaset
/usr/sbin/pwmconfig
/usr/sbin/sensors-detect
/usr/share/doc/lm_sensors-3.4.0
/usr/share/doc/lm_sensors-3.4.0/CHANGES
/usr/share/doc/lm_sensors-3.4.0/CONTRIBUTORS
/usr/share/doc/lm_sensors-3.4.0/COPYING
/usr/share/doc/lm_sensors-3.4.0/README
/usr/share/doc/lm_sensors-3.4.0/README.initscripts
/usr/share/doc/lm_sensors-3.4.0/doc
/usr/share/doc/lm_sensors-3.4.0/doc/developers
/usr/share/doc/lm_sensors-3.4.0/doc/developers/applications
/usr/share/doc/lm_sensors-3.4.0/doc/developers/lm_sensors.lsm
/usr/share/doc/lm_sensors-3.4.0/doc/developers/makefiles
/usr/share/doc/lm_sensors-3.4.0/doc/developers/release_checklist
/usr/share/doc/lm_sensors-3.4.0/doc/developers/smbus_company_id
/usr/share/doc/lm_sensors-3.4.0/doc/donations
/usr/share/doc/lm_sensors-3.4.0/doc/fan-divisors
/usr/share/doc/lm_sensors-3.4.0/doc/fancontrol.txt
/usr/share/doc/lm_sensors-3.4.0/doc/git
/usr/share/doc/lm_sensors-3.4.0/doc/libsensors-API.txt
/usr/share/doc/lm_sensors-3.4.0/doc/progs
/usr/share/doc/lm_sensors-3.4.0/doc/temperature-sensors
/usr/share/doc/lm_sensors-3.4.0/doc/vid
/usr/share/doc/lm_sensors-3.4.0/fancontrol.init
/usr/share/man/man1/sensors.1.gz
/usr/share/man/man5/sensors.conf.5.gz
/usr/share/man/man5/sensors3.conf.5.gz
/usr/share/man/man8/fancontrol.8.gz
/usr/share/man/man8/isadump.8.gz
/usr/share/man/man8/isaset.8.gz
/usr/share/man/man8/pwmconfig.8.gz
/usr/share/man/man8/sensors-conf-convert.8.gz
/usr/share/man/man8/sensors-detect.8.gz

References

Summary

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