How To Install ddpt on CentOS 7

In this tutorial we learn how to install ddpt on CentOS 7. ddpt is Variant of the dd utility for SCSI/storage devices

Introduction

In this tutorial we learn how to install ddpt on CentOS 7.

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

Install ddpt on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install ddpt

Install ddpt 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.

sudo dnf makecache

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

sudo dnf -y install ddpt

How To Uninstall ddpt on CentOS 7

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

sudo dnf remove ddpt

References

Summary

In this tutorial we learn how to install ddpt on CentOS 7 using yum and dnf.