How To Install hfsutils on Fedora 34

hfsutils is Tools for reading and writing Macintosh HFS volumes

Introduction

In this tutorial we learn how to install hfsutils on Fedora 34.

What is hfsutils

HFS (Hierarchical File System) is the native volume format found on modern Macintosh computers. Hfsutils provides utilities for accessing HFS volumes from Linux and UNIX systems. Hfsutils contains several command-line programs which are comparable to mtools.

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

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

sudo dnf -y install hfsutils

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

sudo yum -y install hfsutils

How To Uninstall hfsutils on Fedora 34

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

sudo dnf remove hfsutils

hfsutils Package Contents on Fedora 34

/usr/bin/fsck.hfs
/usr/bin/hattrib
/usr/bin/hcd
/usr/bin/hcopy
/usr/bin/hdel
/usr/bin/hdir
/usr/bin/hformat
/usr/bin/hfs
/usr/bin/hfsck
/usr/bin/hfssh
/usr/bin/hls
/usr/bin/hmkdir
/usr/bin/hmount
/usr/bin/hpwd
/usr/bin/hrename
/usr/bin/hrmdir
/usr/bin/humount
/usr/bin/hvol
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/85b766c82821a7a4c1df8892a41b674743b8b6
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/79ece0af12364aa08440b5e71c0d80c509339a
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.1
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.10
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.11
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.12
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.13
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.2
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.3
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.4
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.5
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.6
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.7
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.8
/usr/lib/.build-id/ef/360e50440dd227e0bd77b5967ff34d45333b46.9
/usr/share/doc/hfsutils
/usr/share/doc/hfsutils/CHANGES
/usr/share/doc/hfsutils/CREDITS
/usr/share/doc/hfsutils/README
/usr/share/doc/hfsutils/TODO
/usr/share/licenses/hfsutils
/usr/share/licenses/hfsutils/COPYING
/usr/share/licenses/hfsutils/COPYRIGHT
/usr/share/man/man1/hattrib.1.gz
/usr/share/man/man1/hcd.1.gz
/usr/share/man/man1/hcopy.1.gz
/usr/share/man/man1/hdel.1.gz
/usr/share/man/man1/hdir.1.gz
/usr/share/man/man1/hformat.1.gz
/usr/share/man/man1/hfs.1.gz
/usr/share/man/man1/hfssh.1.gz
/usr/share/man/man1/hfsutils.1.gz
/usr/share/man/man1/hls.1.gz
/usr/share/man/man1/hmkdir.1.gz
/usr/share/man/man1/hmount.1.gz
/usr/share/man/man1/hpwd.1.gz
/usr/share/man/man1/hrename.1.gz
/usr/share/man/man1/hrmdir.1.gz
/usr/share/man/man1/humount.1.gz
/usr/share/man/man1/hvol.1.gz

References

Summary

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