How To Install ntfs-3g on CentOS 7

In this tutorial we learn how to install ntfs-3g on CentOS 7. ntfs-3g is Linux NTFS userspace driver

Introduction

In this tutorial we learn how to install ntfs-3g on CentOS 7.

What is ntfs-3g

NTFS-3G is a stable, open source, GPL licensed, POSIX, read/write NTFS driver for Linux and many other operating systems. It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 NTFS file systems. NTFS-3G can create, remove, rename, move files, directories, hard links, and streams; it can read and write normal and transparently compressed files, including streams and sparse files; it can handle special files like symbolic links, devices, and FIFOs, ACL, extended attributes; moreover it provides full file access right and ownership support.

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

Install ntfs-3g on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ntfs-3g using yum by running the following command:

sudo yum -y install ntfs-3g

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

sudo dnf -y install ntfs-3g

How To Uninstall ntfs-3g on CentOS 7

To uninstall only the ntfs-3g package we can use the following command:

sudo dnf remove ntfs-3g

References

Summary

In this tutorial we learn how to install ntfs-3g on CentOS 7 using yum and dnf.