How To Install dd_rescue on CentOS 7

In this tutorial we learn how to install dd_rescue on CentOS 7. dd_rescue is Fault tolerant dd utility for rescuing data from bad media

Introduction

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

What is dd_rescue

ddrescue is a utility similar to the system utility “dd” which copies data from a file or block device to another. ddrescue does however not abort on errors in the input file. This makes it suitable for rescuing data from media with errors, e.g. a disk with bad sectors. This package includes dd_rhelp, a wrapper script facilitating data recovery.

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

Install dd_rescue on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install dd_rescue

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

sudo dnf -y install dd_rescue

How To Uninstall dd_rescue on CentOS 7

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

sudo dnf remove dd_rescue

References

Summary

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