sac2mseed command not found

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

Introduction

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

sac2mseed: command not found

or when using sudo you get the following error message

sudo: sac2mseed: command not found

Solutions to sac2mseed: command not found

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

In Ubuntu sac2mseed is provided by sac2mseed package.

sac2mseed is:

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

sac2mseed converts SAC waveform data to MiniSEED format. By default the format of the input files is automatically detected: alpha or binary (byte order autodetected).

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

sudo apt-get -y install sac2mseed

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

You can also use apt command to install sac2mseed.

sudo apt -y install sac2mseed

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

sudo aptitude install sac2mseed

Summary

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