How To Install mtx on CentOS 8
Introduction
In this tutorial we learn how to install mtx on CentOS 8.
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 8. In this tutorial we discuss both methods but you only need to choose one of method to install mtx.
Install mtx on CentOS 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the mtx package we can use the following command:
sudo dnf remove mtx
mtx Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/69bb88a584c2ea541cae22dc229b3a23753a3d
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/da8753a98b8e59037e8ba53ee25cc211081375
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/11db150cb2653f127f574a6a70a3a54e7c98ac
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/5c65038e2f6cf919eca07fb5d158d89ca6eeed
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/7ccf018261cfe74632a4ae5816b832b598b31b
/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 CentOS 8 using yum and dnf.