mgltask command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mgltask: command not found
or when using sudo you get the following error message
sudo: mgltask: command not found
Solutions to mgltask: command not found
How To Fix mgltask: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mgltask is provided by mathgl package.
mathgl is:
A free cross-platform library of fast C++ routines for plotting data in up to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF files. There are simple window interfaces based on GLUT, FLTK and/or Qt. MathGL can also be used in the console. There are interfaces to a set of languages, such as, C, Fortran, Pascal, Forth, Python, Octave.
This package contains MathGL utilities and examples.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mathgl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mathgl.
sudo apt -y install mathgl
Or if you have aptitude installed you can use the following command.
sudo aptitude install mathgl
Summary
In this tutorial we learn how to fix mgltask command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.