How To Install dosfstools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install dosfstools.x86_64 in Amazon Linux 2. dosfstools.x86_64 is Utilities for making and checking MS-DOS FAT filesystems on Linux

Introduction

In this tutorial we learn how to install dosfstools.x86_64 on Amazon Linux 2.

What is dosfstools.x86_64

The dosfstools package includes the mkdosfs and dosfsck utilities, which respectively make and check MS-DOS FAT filesystems on hard drives or on floppies.

We can use yum to install dosfstools.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dosfstools.x86_64.

Install dosfstools.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dosfstools.x86_64 using yum by running the following command:

sudo yum -y install dosfstools.x86_64

How To Uninstall dosfstools.x86_64 on Amazon Linux 2

To uninstall only the dosfstools.x86_64 package we can use the following command:

sudo yum remove dosfstools.x86_64

dosfstools.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/dosfsck
/usr/sbin/dosfslabel
/usr/sbin/fatlabel
/usr/sbin/fsck.fat
/usr/sbin/fsck.msdos
/usr/sbin/fsck.vfat
/usr/sbin/mkdosfs
/usr/sbin/mkfs.fat
/usr/sbin/mkfs.msdos
/usr/sbin/mkfs.vfat
/usr/share/doc/dosfstools-3.0.20
/usr/share/doc/dosfstools-3.0.20/COPYING
/usr/share/doc/dosfstools-3.0.20/ChangeLog
/usr/share/doc/dosfstools-3.0.20/ChangeLog.dosfstools-2.x
/usr/share/doc/dosfstools-3.0.20/README.dosfstools-2.x
/usr/share/doc/dosfstools-3.0.20/TODO.dosfstools-2.x
/usr/share/man/de/man8/fatlabel.8.gz
/usr/share/man/de/man8/fsck.fat.8.gz
/usr/share/man/de/man8/mkfs.fat.8.gz
/usr/share/man/man8/dosfsck.8.gz
/usr/share/man/man8/fatlabel.8.gz
/usr/share/man/man8/fsck.fat.8.gz
/usr/share/man/man8/fsck.fat.8.manpage-fix.gz
/usr/share/man/man8/fsck.msdos.8.gz
/usr/share/man/man8/fsck.vfat.8.gz
/usr/share/man/man8/mkdosfs.8.gz
/usr/share/man/man8/mkfs.fat.8.gz
/usr/share/man/man8/mkfs.msdos.8.gz
/usr/share/man/man8/mkfs.vfat.8.gz

References

Summary

In this tutorial we learn how to install dosfstools.x86_64 on Amazon Linux 2 using yum.