debian-matlab-mexhelper command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
debian-matlab-mexhelper: command not found
or when using sudo you get the following error message
sudo: debian-matlab-mexhelper: command not found
Solutions to debian-matlab-mexhelper: command not found
How To Fix debian-matlab-mexhelper: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu debian-matlab-mexhelper is provided by matlab-support package.
matlab-support is:
This package does not provide MATLAB. Instead, it configures an existing MATLAB installation to integrate more comfortably in a Debian installation.
Currently it provides /usr/bin/matlab through the alternatives system, offers to work around incompatibilities between the libraries bundled with MATLAB and system libraries, and provides a helper utility meant to be used by other packages to compile MEX extensions.
Install this if you would like your MATLAB installation to behave more like an ordinary Debian package. Other packages may depend on this one if they install MATLAB code, for example in order to compile MEX extensions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install matlab-support
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install matlab-support.
sudo apt -y install matlab-support
Or if you have aptitude installed you can use the following command.
sudo aptitude install matlab-support
Summary
In this tutorial we learn how to fix debian-matlab-mexhelper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.