How To Install lm_sensors-libs on Rocky Linux 8

In this tutorial we learn how to install lm_sensors-libs on Rocky Linux 8. lm_sensors-libs is Lm_sensors core libraries

Introduction

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

What is lm_sensors-libs

Core libraries for lm_sensors applications

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

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

sudo dnf -y install lm_sensors-libs

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

sudo yum -y install lm_sensors-libs

How To Uninstall lm_sensors-libs on Rocky Linux 8

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

sudo dnf remove lm_sensors-libs

lm_sensors-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/33ce25c6275157c96794806f045bacbf3d025c
/usr/lib/libsensors.so.4
/usr/lib/libsensors.so.4.4.0
/usr/share/licenses/lm_sensors-libs
/usr/share/licenses/lm_sensors-libs/COPYING.LGPL
/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/f83a5a1676dabcc52732d698878d51e3e95031
/usr/lib64/libsensors.so.4
/usr/lib64/libsensors.so.4.4.0
/usr/share/licenses/lm_sensors-libs
/usr/share/licenses/lm_sensors-libs/COPYING.LGPL

References

Summary

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