How To Install dd_rescue on Fedora 34

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 Fedora 34.

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

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

sudo dnf -y install dd_rescue

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

sudo yum -y install dd_rescue

How To Uninstall dd_rescue on Fedora 34

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

sudo dnf remove dd_rescue

dd_rescue Package Contents on Fedora 34

/usr/bin/dd_rescue
/usr/bin/dd_rhelp
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/46816f7389df9bcb33496562e6bcc64f61b00c
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/adee69cabd88d10c46ae8745ee5149d95a9634
/usr/lib/.build-id/82
/usr/lib/.build-id/82/9bbfc04c6ef34405a70a15431c50ee946d6376
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/ca6a379c6a9ffcf90a3c40ba90969654160aad
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/05503ad90e9dfbc85adc91a2ff0be93983b2c1
/usr/lib64/libddr_MD5.so
/usr/lib64/libddr_crypt.so
/usr/lib64/libddr_hash.so
/usr/lib64/libddr_lzo.so
/usr/lib64/libddr_null.so
/usr/share/doc/dd_rescue
/usr/share/doc/dd_rescue/COPYING
/usr/share/doc/dd_rescue/FAQ.dd_rhelp
/usr/share/doc/dd_rescue/README
/usr/share/doc/dd_rescue/README.dd_rhelp
/usr/share/man/man1/dd_rescue.1.gz
/usr/share/man/man1/ddr_crypt.1.gz
/usr/share/man/man1/ddr_lzo.1.gz
/usr/bin/dd_rescue
/usr/bin/dd_rhelp
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/74ee017db689ebae44b39be7b350e07e478eda
/usr/lib/.build-id/61
/usr/lib/.build-id/61/d2868fb164518a247fa5573f97489b743ed343
/usr/lib/.build-id/78
/usr/lib/.build-id/78/ca7bf7f38361b30309523766865136b82bc519
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/62643f6585eb66fcc4d8a616597afb4318f487
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/00e223fb2eb0beea2fe816e4261f31b89a4c70
/usr/lib64/libddr_MD5.so
/usr/lib64/libddr_crypt.so
/usr/lib64/libddr_hash.so
/usr/lib64/libddr_lzo.so
/usr/lib64/libddr_null.so
/usr/share/doc/dd_rescue
/usr/share/doc/dd_rescue/COPYING
/usr/share/doc/dd_rescue/FAQ.dd_rhelp
/usr/share/doc/dd_rescue/README
/usr/share/doc/dd_rescue/README.dd_rhelp
/usr/share/man/man1/dd_rescue.1.gz
/usr/share/man/man1/ddr_crypt.1.gz
/usr/share/man/man1/ddr_lzo.1.gz

References

Summary

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