stinit command not found

In this troubleshooting guide we learn how to fix stinit command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

stinit: command not found

or when using sudo you get the following error message

sudo: stinit: command not found

Solutions to stinit: command not found

How To Fix stinit: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu stinit is provided by mt-st package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mt-st

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mt-st.

sudo apt -y install mt-st

Or if you have aptitude installed you can use the following command.

sudo aptitude install mt-st

Summary

In this tutorial we learn how to fix stinit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.