How To Install dd_rescue on AlmaLinux 8

In this tutorial we learn how to install dd_rescue in AlmaLinux 8. 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 AlmaLinux 8.

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

Install dd_rescue on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install dd_rescue

Install dd_rescue on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install dd_rescue

How To Uninstall dd_rescue on AlmaLinux 8

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 AlmaLinux 8 using yum and dnf.