How To Install digitemp on CentOS 7
Introduction
In this tutorial we learn how to install digitemp
on CentOS 7.
What is digitemp
DigiTemp is a simple to use console application for reading values from Dallas Semiconductor 1-wire devices. Its main use is for reading temperature sensors, but it also reads counters and understands the 1-wire hubs with devices on different branches of the network. DigiTemp now supports the following 1-wire temperature sensors DS2438 Smart Battery Monitor, DS2422 and DS2423 Counters, DS2409 MicroLAN Coupler (used in 1-wire hubs) and the AAG TAI-8540 humidity sensor.
We can use yum
or dnf
to install digitemp
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install digitemp.
Install digitemp on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install digitemp
using yum
by running the following command:
Install digitemp on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install digitemp
using dnf
by running the following command:
How To Uninstall digitemp on CentOS 7
To uninstall only the digitemp
package we can use the following command:
References
Summary
In this tutorial we learn how to install digitemp
on CentOS 7 using yum
and dnf
.