How To Install mtx on Fedora 34

mtx is SCSI media changer control program

Introduction

In this tutorial we learn how to install mtx on Fedora 34.

What is mtx

The MTX program controls the robotic mechanism in autoloaders and tape libraries such as the HP SureStore DAT 40x6, Exabyte EZ-17, and Exabyte 220. This program is also reported to work with a variety of other tape libraries and autochangers from ADIC, Tandberg/Overland, Breece Hill, HP, and Seagate. If you have a backup tape device capable of handling more than one tape at a time, you should install MTX.

We can use yum or dnf to install mtx on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mtx.

Install mtx on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mtx using dnf by running the following command:

sudo dnf -y install mtx

Install mtx on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mtx using yum by running the following command:

sudo yum -y install mtx

How To Uninstall mtx on Fedora 34

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

sudo dnf remove mtx

mtx Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/40d343ddb1055bbaa8ef4afc4af4692e8e9564
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/799fb58db12fa79cd2a94563764d5b5d6d30e8
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/ce197e6bff5777b3e352070038952d19718fd6
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/042a6d24bfffe850cae3512f2e971e0a673375
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/fb0a3fdcb1facb513883e9f1d3e5e4d9f7c20e
/usr/sbin/loaderinfo
/usr/sbin/mtx
/usr/sbin/scsieject
/usr/sbin/scsitape
/usr/sbin/tapeinfo
/usr/share/doc/mtx
/usr/share/doc/mtx/CHANGES
/usr/share/doc/mtx/COMPATABILITY
/usr/share/doc/mtx/FAQ
/usr/share/doc/mtx/LICENSE
/usr/share/doc/mtx/README
/usr/share/doc/mtx/TODO
/usr/share/doc/mtx/contrib
/usr/share/doc/mtx/contrib/MTX.html
/usr/share/doc/mtx/contrib/README
/usr/share/doc/mtx/contrib/TapeChanger-MTX-0.71b.tar.gz
/usr/share/doc/mtx/contrib/config_sgen_solaris.sh
/usr/share/doc/mtx/contrib/mtx-changer
/usr/share/doc/mtx/contrib/mtx.py
/usr/share/doc/mtx/contrib/mtxctl-0.0.2.tar.gz
/usr/share/doc/mtx/contrib/qdback.tar.gz
/usr/share/doc/mtx/contrib/tapechanger.html
/usr/share/doc/mtx/contrib/tapeinfo.py
/usr/share/doc/mtx/contrib/tapeload.pl
/usr/share/doc/mtx/contrib/tapeunload.pl
/usr/share/doc/mtx/mtx.doc
/usr/share/doc/mtx/mtxl.README.html
/usr/share/man/man1/loaderinfo.1.gz
/usr/share/man/man1/mtx.1.gz
/usr/share/man/man1/scsieject.1.gz
/usr/share/man/man1/scsitape.1.gz
/usr/share/man/man1/tapeinfo.1.gz

References

Summary

In this tutorial we learn how to install mtx on Fedora 34 using yum and dnf.