How To Install ddpt on Fedora 34

ddpt is Variant of the dd utility for SCSI/storage devices

Introduction

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

What is ddpt

The ddpt utility is a variant of the standard Unix command dd which copies files. The ddpt utility specializes in files that are block devices. For block devices that understand the SCSI command set, finer grain control over the copy may be available via a SCSI pass-through interface. Note that recent (S)ATA disks can often be driven by SCSI commands due to SCSI to ATA translation (SAT) implemented in the kernel.

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

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

sudo dnf -y install ddpt

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

sudo yum -y install ddpt

How To Uninstall ddpt on Fedora 34

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

sudo dnf remove ddpt

ddpt Package Contents on Fedora 34

/usr/bin/ddpt
/usr/bin/ddpt_sgl
/usr/bin/ddptctl
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/6a70928464d269bdaa234bd57e0ce8ee923b4e
/usr/lib/.build-id/66
/usr/lib/.build-id/66/3f05b23077ea92f4013403912b3039b39833eb
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/de8476ef352cf6a2eee3e79c4fa3c360ee7580
/usr/share/doc/ddpt
/usr/share/doc/ddpt/AUTHORS
/usr/share/doc/ddpt/COPYING
/usr/share/doc/ddpt/CREDITS
/usr/share/doc/ddpt/ChangeLog
/usr/share/doc/ddpt/README
/usr/share/doc/ddpt/TODO
/usr/share/doc/ddpt/ddpt_examples.txt
/usr/share/man/man8/ddpt.8.gz
/usr/share/man/man8/ddpt_sgl.8.gz
/usr/share/man/man8/ddptctl.8.gz

References

Summary

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