How To Install mt-st on Kali Linux

In this tutorial we learn how to install mt-st on Kali Linux. mt-st is Linux SCSI tape driver aware magnetic tape control (aka mt)

Introduction

In this tutorial we learn how to install mt-st on Kali Linux.

What is mt-st

mt-st is:

Mt-st contains a version of “mt” that is aware of Linux’s SCSI tape driver. Mt-st is able to set some esoteric control flags like tape partitions.

Mt-st provides an alternative to the GNU version of mt, in the cpio package.

It also comes with stinit, a program to be run at boot time to set up tape defaults.

There are three methods to install mt-st on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install mt-st Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install mt-st

Install mt-st Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mt-st

Install mt-st Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install mt-st

How To Uninstall mt-st on Kali Linux

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

sudo apt-get remove mt-st

Uninstall mt-st And Its Dependencies

To uninstall mt-st and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove mt-st

Remove mt-st Configurations and Data

To remove mt-st configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge mt-st

Remove mt-st configuration, data, and all of its dependencies

We can use the following command to remove mt-st configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mt-st

Dependencies

mt-st have the following dependencies:

References

Summary

In this tutorial we learn how to install mt-st package on Kali Linux using different package management tools: apt, apt-get and aptitude.