How To Install mt-st on CentOS 7

In this tutorial we learn how to install mt-st on CentOS 7. mt-st is Tool for controlling tape drives

Introduction

In this tutorial we learn how to install mt-st on CentOS 7.

What is mt-st

The mt-st package contains the mt and st tape drive management programs. Mt (for magnetic tape drives) and st (for SCSI tape devices) can control rewinding, ejecting, skipping files and blocks and more. Install mt-st if you need a tool to manage tape drives.

We can use yum or dnf to install mt-st on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mt-st.

Install mt-st on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install mt-st using yum by running the following command:

sudo yum -y install mt-st

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

sudo dnf -y install mt-st

How To Uninstall mt-st on CentOS 7

To uninstall only the mt-st package we can use the following command:

sudo dnf remove mt-st

References

Summary

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