mimetex command not found

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

Introduction

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

mimetex: command not found

or when using sudo you get the following error message

sudo: mimetex: command not found

Solutions to mimetex: command not found

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

In Ubuntu mimetex is provided by mimetex package.

mimetex is:

mimeTex parses LaTeX math expressions emitting directly GIF images without intermediate dvi-to-gif conversion.

mimeTex is a standalone program that doesn’t use TeX in any way, a kind of lightweight alternative to MathML

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

sudo apt-get -y install mimetex

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

You can also use apt command to install mimetex.

sudo apt -y install mimetex

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

sudo aptitude install mimetex

Summary

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