How To Install mtools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mtools.x86_64 in Amazon Linux 2. mtools.x86_64 is Programs for accessing MS-DOS disks without mounting the disks

Introduction

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

What is mtools.x86_64

Mtools is a collection of utilities for accessing MS-DOS files. Mtools allow you to read, write and move around MS-DOS filesystem files (normally on MS-DOS floppy disks). Mtools supports Windows95 style long file names, OS/2 XDF disks, and 2m disks Mtools should be installed if you need to use MS-DOS disks

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

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

sudo yum -y install mtools.x86_64

How To Uninstall mtools.x86_64 on Amazon Linux 2

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

sudo yum remove mtools.x86_64

mtools.x86_64 Package Contents on Amazon Linux 2

/etc/mtools.conf
/usr/bin/amuFormat.sh
/usr/bin/lz
/usr/bin/mattrib
/usr/bin/mbadblocks
/usr/bin/mcat
/usr/bin/mcd
/usr/bin/mcheck
/usr/bin/mclasserase
/usr/bin/mcomp
/usr/bin/mcopy
/usr/bin/mdel
/usr/bin/mdeltree
/usr/bin/mdir
/usr/bin/mdu
/usr/bin/mformat
/usr/bin/minfo
/usr/bin/mkmanifest
/usr/bin/mlabel
/usr/bin/mmd
/usr/bin/mmount
/usr/bin/mmove
/usr/bin/mpartition
/usr/bin/mrd
/usr/bin/mren
/usr/bin/mshortname
/usr/bin/mshowfat
/usr/bin/mtools
/usr/bin/mtoolstest
/usr/bin/mtype
/usr/bin/mxtar
/usr/bin/mzip
/usr/bin/tgz
/usr/bin/uz
/usr/share/doc/mtools-4.0.18
/usr/share/doc/mtools-4.0.18/COPYING
/usr/share/doc/mtools-4.0.18/README
/usr/share/doc/mtools-4.0.18/Release.notes
/usr/share/info/mtools.info.gz
/usr/share/man/man1/mattrib.1.gz
/usr/share/man/man1/mbadblocks.1.gz
/usr/share/man/man1/mcat.1.gz
/usr/share/man/man1/mcd.1.gz
/usr/share/man/man1/mclasserase.1.gz
/usr/share/man/man1/mcopy.1.gz
/usr/share/man/man1/mdel.1.gz
/usr/share/man/man1/mdeltree.1.gz
/usr/share/man/man1/mdir.1.gz
/usr/share/man/man1/mdu.1.gz
/usr/share/man/man1/mformat.1.gz
/usr/share/man/man1/minfo.1.gz
/usr/share/man/man1/mkmanifest.1.gz
/usr/share/man/man1/mlabel.1.gz
/usr/share/man/man1/mmd.1.gz
/usr/share/man/man1/mmount.1.gz
/usr/share/man/man1/mmove.1.gz
/usr/share/man/man1/mpartition.1.gz
/usr/share/man/man1/mrd.1.gz
/usr/share/man/man1/mren.1.gz
/usr/share/man/man1/mshortname.1.gz
/usr/share/man/man1/mshowfat.1.gz
/usr/share/man/man1/mtools.1.gz
/usr/share/man/man1/mtoolstest.1.gz
/usr/share/man/man1/mtype.1.gz
/usr/share/man/man1/mzip.1.gz
/usr/share/man/man5/mtools.5.gz
/usr/share/man/man5/mtools.conf.5.gz

References

Summary

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