How To Install mt-st on Fedora 36

In this tutorial we learn how to install mt-st in Fedora 36. mt-st is Tool for controlling tape drives

Introduction

In this tutorial we learn how to install mt-st on Fedora 36.

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

Install mt-st on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mt-st

Install mt-st on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mt-st

How To Uninstall mt-st on Fedora 36

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

sudo dnf remove mt-st

mt-st Package Contents on Fedora 36

/usr/bin/mt
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/43960a34137fc9c2bbc74ba2a7464ed2586275
/usr/lib/.build-id/57
/usr/lib/.build-id/57/930a5932b1cec35fd5d2f6bd77486c0e9e30ea
/usr/lib/systemd/system/stinit.service
/usr/sbin/stinit
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/mt
/usr/share/doc/mt-st
/usr/share/doc/mt-st/COPYING
/usr/share/doc/mt-st/README.md
/usr/share/doc/mt-st/stinit.def.examples
/usr/share/man/man1/mt.1.gz
/usr/share/man/man8/stinit.8.gz

References

Summary

In this tutorial we learn how to install mt-st on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).