How To Install mtx on CentOS 7

In this tutorial we learn how to install mtx on CentOS 7. mtx is SCSI media changer control program

Introduction

In this tutorial we learn how to install mtx on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mtx.

Install mtx on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install mtx

Install mtx on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install mtx

How To Uninstall mtx on CentOS 7

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

sudo dnf remove mtx

References

Summary

In this tutorial we learn how to install mtx on CentOS 7 using yum and dnf.