midi2xml command not found

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

Introduction

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

midi2xml: command not found

or when using sudo you get the following error message

sudo: midi2xml: command not found

Solutions to midi2xml: command not found

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

In Ubuntu midi2xml is provided by gsequencer package.

gsequencer is:

Advanced GTK+ Sequencer is intended to be used for music composition. It features a piano roll, as well as a synth, matrix editor, drum machine, soundfont2 player, mixer and an output panel. It’s designed to be highly configurable. You may add effects to its effect chain; and add or remove audio channels/pads. You may set up a fully functional network of engines, thus there is a link editor for linking audio lines.

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

sudo apt-get -y install gsequencer

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

You can also use apt command to install gsequencer.

sudo apt -y install gsequencer

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

sudo aptitude install gsequencer

Summary

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