How To Install hfsplus-tools on CentOS 7

In this tutorial we learn how to install hfsplus-tools on CentOS 7. hfsplus-tools is Tools to create/check Apple HFS+ filesystems

Introduction

In this tutorial we learn how to install hfsplus-tools on CentOS 7.

What is hfsplus-tools

HFS+, HFS Plus, or Mac OS Extended are names for a file system developed by Apple Computer to replace their Hierarchical File System (HFS). In addition to being the default file system on modern Apple computers, HFS+ is one of two formats, FAT being the other, that are supported by the iPod hard-disk based music player. Unlike FAT, HFS+ supports UNIX style file permissions, which makes it useful, for serving and sharing files in a secured manner. As Apple Computer’s devices and systems become increasingly ubiquitous, it becomes important that Linux fully support this format. This package provides tools to create and check HFS+ filesystems under Linux. The Linux kernel does not support writing to HFS+ journals, writing to a hfsplus partition is recommended only after disabling journaling; however, the kernel, as of version 2.6.16, supports case-sensitivity (also known as HFSX) commit.

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

Install hfsplus-tools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install hfsplus-tools using yum by running the following command:

sudo yum -y install hfsplus-tools

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

sudo dnf -y install hfsplus-tools

How To Uninstall hfsplus-tools on CentOS 7

To uninstall only the hfsplus-tools package we can use the following command:

sudo dnf remove hfsplus-tools

References

Summary

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