fluidsynth command not found

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

Introduction

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

fluidsynth: command not found

or when using sudo you get the following error message

sudo: fluidsynth: command not found

Solutions to fluidsynth: command not found

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

In Ubuntu fluidsynth is provided by fluidsynth package.

fluidsynth is:

Fluidsynth is a real-time midi synthesizer based on the soundfont (sf2 and sf3) specifications. It can be used to render MIDI input or MIDI files to audio. The MIDI events are read from a MIDI device. The sound is rendered in real-time to the sound output device.

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

sudo apt-get -y install fluidsynth

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

You can also use apt command to install fluidsynth.

sudo apt -y install fluidsynth

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

sudo aptitude install fluidsynth

Summary

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