How To Install mtools on Rocky Linux 8

In this tutorial we learn how to install mtools on Rocky Linux 8. mtools is Programs for accessing MS-DOS disks without mounting the disks

Introduction

In this tutorial we learn how to install mtools on Rocky Linux 8.

What is mtools

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

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

sudo dnf -y install mtools

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

sudo yum -y install mtools

How To Uninstall mtools on Rocky Linux 8

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

sudo dnf remove mtools

mtools Package Contents on Rocky Linux 8

/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/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/f772cea645f05d8dcd7a26aaf3f62e3ab6eba2
/usr/lib/.build-id/33
/usr/lib/.build-id/33/f68047b3122ab97ec9c7bc2691c164e096f419
/usr/share/doc/mtools
/usr/share/doc/mtools/README
/usr/share/doc/mtools/Release.notes
/usr/share/info/mtools.info.gz
/usr/share/licenses/mtools
/usr/share/licenses/mtools/COPYING
/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 on Rocky Linux 8 using yum and dnf.