latexdraw command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
latexdraw: command not found
or when using sudo you get the following error message
sudo: latexdraw: command not found
Solutions to latexdraw: command not found
How To Fix latexdraw: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu latexdraw is provided by latexdraw package.
latexdraw is:
LaTeXDraw is a free PSTricks code generator or PSTricks editor for LaTeX. It has the usual drawing tools (lines, rectangles, circles, Bezier curves) and can resize, rotate, move and join objects using vector transformations. LaTeXDraw uses SVG as its file format and figures can be exported as PSTricks code, pdf, eps, jpg, bmp, png, ppm.
PSTricks is an extension of LaTeX which allows the creation of drawings, diagrams and graphs in 2D or 3D.
To fix this problem, we can install more using the command below.
sudo apt-get -y install latexdraw
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install latexdraw.
sudo apt -y install latexdraw
Or if you have aptitude installed you can use the following command.
sudo aptitude install latexdraw
Summary
In this tutorial we learn how to fix latexdraw command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.