mftext command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mftext: command not found
or when using sudo you get the following error message
sudo: mftext: command not found
Solutions to mftext: command not found
How To Fix mftext: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mftext is provided by abcmidi package.
abcmidi is:
This package contains the programs
abc2midi' and
midi2abc’, which convert from the abc musical notation format to standard MIDI format and vice-versa. They can generate accompaniment from guitar chords in the abc file, as well as insert various MIDI events; the MIDI-to-abc translation tries to figure out bars, triplets and accidentals on its own.
The package also contains abc2abc' (an abc prettyprinter/transposer),
mftext’ (a program that dumps a MIDI file as text), and `midicopy'
(a program that extracts specific tracks, channels or time intervals
from a MIDI file).
The package also contains Yet another ABC to PostScript converter (yaps) which translates tunes written in the ABC format to PostScript, which can then be viewed on screen or printed. It is essentially a (non-exclusive) alternative to abc2ps, being based on the abc2ps PostScript code together with the ABC parser from the abcmidi package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install abcmidi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install abcmidi.
sudo apt -y install abcmidi
Or if you have aptitude installed you can use the following command.
sudo aptitude install abcmidi
Summary
In this tutorial we learn how to fix mftext command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.