smfplay command not found

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

Introduction

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

smfplay: command not found

or when using sudo you get the following error message

sudo: smfplay: command not found

Solutions to smfplay: command not found

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

In Ubuntu smfplay is provided by midish package.

midish is:

midish is a MIDI sequencer/filter implemented as a shell-like interpreter. It’s intended to be lightweight, fast and reliable for real-time performance. Important features are: multiple MIDI devices handling, synchronisation to external MIDI devices, real-time MIDI filtering/routing (controller mapping, keyboard splitting, …), track recording and editing (insert, copy, delete, quantize…), import and export of standard MIDI files, system exclusive messages handling.

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

sudo apt-get -y install midish

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

You can also use apt command to install midish.

sudo apt -y install midish

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

sudo aptitude install midish

Summary

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