smfsh command not found

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

Introduction

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

smfsh: command not found

or when using sudo you get the following error message

sudo: smfsh: command not found

Solutions to smfsh: command not found

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

In Ubuntu smfsh is provided by smf-utils package.

smf-utils is:

LibSMF is a BSD-licensed C library for handling SMF ("*.mid") files.

This package contains smfsh an interactive command-driven frontend to libsmf, useful for modifying MIDI files by hand.

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

sudo apt-get -y install smf-utils

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

You can also use apt command to install smf-utils.

sudo apt -y install smf-utils

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

sudo aptitude install smf-utils

Summary

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