dot2tex command not found
In this troubleshooting guide we learn how to fix dot2tex command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
dot2tex: command not found
or when using sudo you get the following error message
sudo: dot2tex: command not found
Solutions to dot2tex: command not found
How To Fix dot2tex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dot2tex is provided by dot2tex package.
dot2tex is:
The purpose of dot2tex is to give graphs generated by the graph layout tool Graphviz a more LaTeX friendly look and feel. This is accomplished by:
- Using native PSTricks and PGF/TikZ commands for drawing arrows, edges and nodes.
- Typesetting labels with LaTeX, allowing mathematical notation.
- Using backend specific styles to customize the output.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dot2tex
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dot2tex.
sudo apt -y install dot2tex
Or if you have aptitude installed you can use the following command.
sudo aptitude install dot2tex
Summary
In this tutorial we learn how to fix dot2tex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.