mseed2sac command not found

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

Introduction

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

mseed2sac: command not found

or when using sudo you get the following error message

sudo: mseed2sac: command not found

Solutions to mseed2sac: command not found

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

In Ubuntu mseed2sac is provided by mseed2sac package.

mseed2sac is:

SAC and MiniSEED are two commonly used formats for seismological data.

mseed2sac converts MiniSEED waveform data to SAC format. The output SAC file can be either ASCII or binary (either byte-order), the default is binary with the same byte-order as the host computer. By default all aspects of the input files are automatically detected.

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

sudo apt-get -y install mseed2sac

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

You can also use apt command to install mseed2sac.

sudo apt -y install mseed2sac

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

sudo aptitude install mseed2sac

Summary

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