m-tx command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
m-tx: command not found
or when using sudo you get the following error message
sudo: m-tx: command not found
Solutions to m-tx: command not found
How To Fix m-tx: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu m-tx is provided by texlive-music package.
texlive-music is:
Music-related fonts and packages.
This package includes the following CTAN packages:
abc – Support ABC music notation in LaTeX
autosp – A Preprocessor that generates note-spacing commands for MusiXTeX scores
bagpipe – Support for typesetting bagpipe music
chordbars – Print chord grids for pop/jazz tunes
chordbox – Draw chord diagrams
ddphonism – Dodecaphonic diagrams: twelve-tone matrices, clock diagrams, etc.
figbas – Mini-fonts for figured-bass notation in music
gchords – Typeset guitar chords
gregoriotex – Engraving Gregorian Chant scores
gtrcrd – Add chords to lyrics
guitar – Guitar chords and song texts
guitarchordschemes – Guitar Chord and Scale Tablatures
guitartabs – A class for drawing guitar tablatures easily
harmony – Typeset harmony symbols, etc., for musicology
latex4musicians – A guide for combining LaTeX and music
leadsheets – Typesetting leadsheets and songbooks
lyluatex – Commands to include lilypond scores within a (Lua)LaTeX document
m-tx – A preprocessor for pmx
musical – Typeset (musical) theatre scripts
musicography – Accessing symbols for music writing with pdfLaTeX
musixguit – Easy notation for guitar music, in MusixTeX
musixtex – Sophisticated music typesetting
musixtex-fonts – Fonts used by MusixTeX
musixtnt – A MusiXTeX extension library that enables transformations of the effect of notes commands
octave – Typeset musical pitches with octave designations
piano – Typeset a basic 2-octave piano diagram
pmx – Preprocessor for MusiXTeX
pmxchords – Produce chord information to go with pmx output
songbook – Package for typesetting song lyrics and chord books
songs – Produce song books for church or fellowship
xml2pmx – Convert MusicXML to PMX and MusiXTeX
xpiano – An extension of the piano package
To fix this problem, we can install more using the command below.
sudo apt-get -y install texlive-music
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install texlive-music.
sudo apt -y install texlive-music
Or if you have aptitude installed you can use the following command.
sudo aptitude install texlive-music
Summary
In this tutorial we learn how to fix m-tx command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.