midi2ly command not found

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

Introduction

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

midi2ly: command not found

or when using sudo you get the following error message

sudo: midi2ly: command not found

Solutions to midi2ly: command not found

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

In Ubuntu midi2ly is provided by lilypond package.

lilypond is:

LilyPond is a music typesetter, an automated engraving system. It produces beautiful sheet music using a high level description file as input.

LilyPond supports many forms of music notation constructs, including chord names, drum notation, figured bass, grace notes, guitar tablature, modern notation (cluster notation and rhythmic grouping), tremolos, (nested) tuplets in arbitrary ratios, and more.

LilyPond’s text-based music input language support can integrate into LaTeX, HTML and Texinfo seamlessly, allowing single sheet music or musicological treatises to be written from a single source. Form and content are separate, and with LilyPond’s expert automated formatting, users don’t need typographical expertise to produce good notation.

LilyPond produces PDF, PostScript, SVG, or TeX printed output, as well as MIDI for listening pleasures. LilyPond is exported from the RoseGarden and NoteEdit GUIs, and can import ABC, ETF and MIDI.

LilyPond is part of the GNU Project.

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

sudo apt-get -y install lilypond

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

You can also use apt command to install lilypond.

sudo apt -y install lilypond

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

sudo aptitude install lilypond

Summary

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