mtxrun command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mtxrun: command not found
or when using sudo you get the following error message
sudo: mtxrun: command not found
Solutions to mtxrun: command not found
How To Fix mtxrun: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mtxrun is provided by context package.
context is:
ConTeXt is a document-production system based, like LaTeX, on the TeX typesetting system. Whereas LaTeX insulates the writer from typographical details, ConTeXt takes a complementary approach by providing structured interfaces for handling typography, including extensive support for colors, backgrounds, hyperlinks, presentations, figure-text integration, and conditional compilation. It gives the user extensive control over formatting while making it easy to create new layouts and styles without learning the TeX macro language. ConTeXt’s unified design averts the package clashes that can happen with LaTeX.
ConTeXt also integrates MetaFun, a superset of MetaPost and a powerful system for vector graphics. MetaFun can be used as a stand-alone system to produce figures, but its strength lies in enhancing ConTeXt documents with accurate graphic elements.
ConTeXt allows the users to specify formatting commands in English, Dutch, German, French, or Italian, and to use different typesetting engines (PDFTeX, XeTeX, Aleph, and soon LuaTeX) without changing the user interface. ConTeXt is developed rapidly, often in response to requests from the friendly user community.
To fix this problem, we can install more using the command below.
sudo apt-get -y install context
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install context.
sudo apt -y install context
Or if you have aptitude installed you can use the following command.
sudo aptitude install context
Summary
In this tutorial we learn how to fix mtxrun command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.