How To Install dt on Fedora 34

dt is Generic data test program

Introduction

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

What is dt

dt is a generic data test program used to verify proper operation of peripherals, file systems, device drivers, or any data stream supported by the operating system. In its’ simplest mode of operation, dt writes and then verifies its’ default data pattern, then displays performance statistics and other test parameters before exiting. Since verification of data is performed, dt can be thought of as a generic diagnostic tool. dt command lines are similar to the dd program, which is popular on most UNIX systems. It contains numerous options to give the user control of various test parameters. dt has been used to successfully test disks, tapes, serial lines, parallel lines, pipes, and memory mapped files. In fact, dt can be used for any device that allows the standard open, read, write, and close system calls. Special support is necessary for some devices, such as serial lines, for setting up the speed, parity, data bits, etc. Available documentation is located in /usr/share/doc/dt. Sample scripts and config data are installed in /usr/share/dt.

We can use yum or dnf to install dt on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dt.

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

sudo dnf -y install dt

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

sudo yum -y install dt

How To Uninstall dt on Fedora 34

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

sudo dnf remove dt

dt Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/1e4b822703c628666e135ccb643fc41df291ee
/usr/sbin/dt
/usr/share/doc/dt
/usr/share/doc/dt/ReleaseNotes-dtv20.txt
/usr/share/doc/dt/ReleaseNotes-dtv21.11.txt
/usr/share/doc/dt/ReleaseNotes-dtv21.27.txt
/usr/share/doc/dt/dt-UsersGuide.txt
/usr/share/doc/dt/html
/usr/share/doc/dt/html/dt-Recommendations.html
/usr/share/doc/dt/html/dt.html
/usr/share/dt
/usr/share/dt/dta
/usr/share/dt/dtc
/usr/share/dt/dtf
/usr/share/dt/dtr
/usr/share/dt/dts
/usr/share/dt/dtt
/usr/share/dt/dtw
/usr/share/dt/pattern_0
/usr/share/dt/pattern_1
/usr/share/dt/pattern_2
/usr/share/dt/pattern_3
/usr/share/dt/pattern_4
/usr/share/dt/pattern_5
/usr/share/dt/pattern_6
/usr/share/dt/pattern_7
/usr/share/dt/pattern_8
/usr/share/dt/pattern_9
/usr/share/dt/pattern_all
/usr/share/dt/pattern_dedup
/usr/share/licenses/dt
/usr/share/licenses/dt/LICENSE
/usr/share/man/man8/dt.8.gz

References

Summary

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