How To Install testdisk on Fedora 34
Introduction
In this tutorial we learn how to install testdisk
on Fedora 34.
What is testdisk
Tool to check and undelete partition. Works with FAT12, FAT16, FAT32, NTFS, ext2, ext3, ext4, btrfs, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS. PhotoRec is a signature based file recovery utility. It handles more than 440 file formats including JPG, MSOffice, OpenOffice documents.
We can use yum
or dnf
to install testdisk
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install testdisk.
Install testdisk 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 testdisk
using dnf
by running the following command:
sudo dnf -y install testdisk
Install testdisk 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 testdisk
using yum
by running the following command:
sudo yum -y install testdisk
How To Uninstall testdisk on Fedora 34
To uninstall only the testdisk
package we can use the following command:
sudo dnf remove testdisk
testdisk Package Contents on Fedora 34
/usr/bin/fidentify
/usr/bin/photorec
/usr/bin/testdisk
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/ea3f472cd090e339aa5fb3f5ed4485a9795f3d
/usr/lib/.build-id/69
/usr/lib/.build-id/69/1789b464c099358928f704df6385a53f696770
/usr/lib/.build-id/84
/usr/lib/.build-id/84/57291e19d1a436b043ab1f7af7c0e726cecec2
/usr/share/doc/testdisk
/usr/share/doc/testdisk/AUTHORS
/usr/share/doc/testdisk/ChangeLog
/usr/share/doc/testdisk/NEWS
/usr/share/doc/testdisk/README.md
/usr/share/doc/testdisk/THANKS
/usr/share/doc/testdisk/documentation.html
/usr/share/licenses/testdisk
/usr/share/licenses/testdisk/COPYING
/usr/share/man/man8/fidentify.8.gz
/usr/share/man/man8/photorec.8.gz
/usr/share/man/man8/testdisk.8.gz
/usr/share/man/zh_CN/man8/fidentify.8.gz
/usr/share/man/zh_CN/man8/photorec.8.gz
/usr/share/man/zh_CN/man8/testdisk.8.gz
References
Summary
In this tutorial we learn how to install testdisk
on Fedora 34 using yum and dnf.