Wednesday, August 21, 2013

Installing Matlab 2012a on Linux Mint LMDE




Installing Matlab 2012a on Linux Mint LMDE

After being using Ubuntu 12.04 LST for at least one year, I could not put wit up the continues system crashing, so I've migrated my station to Linux Mint LMDE. However I should have thought of installing Matlab on it could be difficult. Considering the are not to much Information on the web, I explain the way I did it, whether means its the only or the best way.
  1. Go to the directory where you have mounted or extracted the Installer (/matlab-install-files), then granted execution permissions for the installer.
  2. Go into "/matlab-install-files/sys/java/jre/glnx86/jre/bin/java" if youa are installing for 32 bits or /matlab-install-files/sys/java/jre/glnxa64/jre/bin/java for 64bits  an again give execution permissions to Java.
  3. Go back to installation files directory and run the install  script 

  4.   After entering the License, select custom. this usually allow you to check the box for creating the symbolic links to MATLAB in /usr/local/bin, but some installers didn't include this check box, will see a way to fix that later on. 

  5. After finishing install DO NOT START Matlab. Go into the directory root of Matlab, which usually is in:  "/usr/local/MATLAB/R2012a/bin" and change the permissions before.
  6. Install The matlab-support package, which have two purpose create the symbolic links if the installer did not allow and create a Matlab launcher.

You can check everything is working well  writing the command matlab on the terminal .