How To Install ntfs-3g on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install ntfs-3g on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ntfs-3g.

Install ntfs-3g on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ntfs-3g

Install ntfs-3g on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ntfs-3g

How To Uninstall ntfs-3g on Rocky Linux 8

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

sudo dnf remove ntfs-3g

ntfs-3g Package Contents on Rocky Linux 8

/usr/bin/lowntfs-3g
/usr/bin/ntfs-3g
/usr/bin/ntfs-3g.probe
/usr/bin/ntfsmount
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/08ca4685b59414d4932270fc308e5759e2c8f2
/usr/lib/.build-id/40
/usr/lib/.build-id/40/b341742e10e9e5738ea62d3fc0c771e08c9a3c
/usr/lib/.build-id/51
/usr/lib/.build-id/51/d5a248af583ce55031fa918f69c61e681760a9
/usr/lib/.build-id/86
/usr/lib/.build-id/86/b270524ca85b53b4abf7a6d0db05c09c1b9fa1
/usr/lib64/libntfs-3g.so.88
/usr/lib64/libntfs-3g.so.88.0.0
/usr/sbin/mount.lowntfs-3g
/usr/sbin/mount.ntfs
/usr/sbin/mount.ntfs-3g
/usr/sbin/mount.ntfs-fuse
/usr/share/doc/ntfs-3g
/usr/share/doc/ntfs-3g/AUTHORS
/usr/share/doc/ntfs-3g/CREDITS
/usr/share/doc/ntfs-3g/ChangeLog
/usr/share/doc/ntfs-3g/NEWS
/usr/share/doc/ntfs-3g/README
/usr/share/licenses/ntfs-3g
/usr/share/licenses/ntfs-3g/COPYING
/usr/share/man/man8/mount.lowntfs-3g.8.gz
/usr/share/man/man8/mount.ntfs-3g.8.gz
/usr/share/man/man8/ntfs-3g.8.gz
/usr/share/man/man8/ntfs-3g.probe.8.gz

References

Summary

In this tutorial we learn how to install ntfs-3g on Rocky Linux 8 using yum and dnf.