How To Install digitemp on Fedora 34

digitemp is Dallas Semiconductor 1-wire device reading console application

Introduction

In this tutorial we learn how to install digitemp on Fedora 34.

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

Install digitemp on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install digitemp

Install digitemp on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove digitemp

digitemp Package Contents on Fedora 34

/usr/bin/digitemp_DS2490
/usr/bin/digitemp_DS9097
/usr/bin/digitemp_DS9097U
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/e8af850ff5e5a20ab00e49eb6b70ed62e2d25a
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/91356850d7cdd0330f25c8033a63a4b6526c8f
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/9b7b513f129230da89105a9f24ae1ec01c2b7d
/usr/share/doc/digitemp
/usr/share/doc/digitemp/CREDITS
/usr/share/doc/digitemp/ChangeLog
/usr/share/doc/digitemp/DS9097_Schematic.gif
/usr/share/doc/digitemp/FAQ
/usr/share/doc/digitemp/README
/usr/share/doc/digitemp/TODO
/usr/share/doc/digitemp/dthowto.txt
/usr/share/licenses/digitemp
/usr/share/licenses/digitemp/COPYING
/usr/share/licenses/digitemp/COPYRIGHT
/usr/share/man/man1/digitemp.1.gz

References

Summary

In this tutorial we learn how to install digitemp on Fedora 34 using yum and dnf.