How To Install digitemp on AlmaLinux 8

In this tutorial we learn how to install digitemp in AlmaLinux 8. digitemp is Dallas Semiconductor 1-wire device reading console application

Introduction

In this tutorial we learn how to install digitemp on AlmaLinux 8.

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 the 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install digitemp.

Install digitemp on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install digitemp

Install digitemp on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install digitemp using yum by running the following command:

sudo yum -y install digitemp

How To Uninstall digitemp on AlmaLinux 8

To uninstall only the digitemp package we can use the following command:

sudo dnf remove digitemp

References

Summary

In this tutorial we learn how to install digitemp on AlmaLinux 8 using yum and dnf.