timidity command not found

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

Introduction

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

timidity: command not found

or when using sudo you get the following error message

sudo: timidity: command not found

Solutions to timidity: command not found

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

In Ubuntu timidity is provided by timidity package.

timidity is:

TiMidity++ is a very high quality software-only MIDI sequencer and MOD player. It uses sound fonts (GUS-compatible or SF2-compatible) to render MIDI files, which are not included in this package.

  • Plays MIDI files without any external MIDI instruments at all
  • Understands SMF, RCP/R36/G18/G36, MFI, RMI (MIDI)
  • Autodetects and supports GM/GS/XG MIDI
  • Understands MOD, XM, S3M, IT, 699, AMF, DSM, FAR, GDM, IMF, MED, MTM, STM, STX, ULT, UNI (MOD)
  • Does MOD to MIDI conversion (including playback)
  • Outputs audio into various audio file formats: WAV, au, AIFF, Ogg (Vorbis, FLAC, Speex)
  • Supports JACK, ALSA and AO drivers
  • Uses Gravis Ultrasound compatible patch files and SoundFont2 patch files as the voice data for MIDI instruments
  • Supports playing from archives (zip, lzh, tar…).
  • Timidity++ can be used as an ALSA sequencer device

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

sudo apt-get -y install timidity

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

You can also use apt command to install timidity.

sudo apt -y install timidity

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

sudo aptitude install timidity

Summary

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