Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

How do I install 32-bit MATLAB on my 64-bit Linux machine?


Date Last Modified: Tuesday, February 22, 2011
Solution ID:   1-O7POO
Product:   MATLAB
Reported in Release:   R14
Platform:   Linux
Operating System:   Linux Any
 

Subject:

How do I install 32-bit MATLAB on my 64-bit Linux machine?

Problem Description:

When running the installation, I run across errors such as:

cp: cannot stat '/media/cdrom/update/bin/glnxa64/*': No
such file or directory
Error writing to /tmp/31122tmwinstall
The installer is unable to copy files to /tmp.
Make sure that /tmp exists, is writable, and has
at least 5 megabytes of available space.

Solution:

In order to install 32-bit MATLAB on a 64-bit Linux machine, it is necessary to use the -glnx86 flag:


./install -glnx86

The -glnx86 flag is required for starting MATLAB. If you are running a license manager, it is required for all license manager scripts as well (lmstart, lmdown, lmstat, etc...).

Some users have problems loading the JRE when running in this configuration. Creating a symlink in $MATLAB/sys/java/jre named 'glnxa64' pointing to 'glnx86' should resolve this issue. You can do this with the following command:

ln -s $MATLAB/sys/java/jre/glnx86 $MATLAB/sys/java/jre/glnxa64

(where $MATLAB is the MATLAB installation folder)

 

Related Solutions:

Please provide feedback to help us improve this Solution
Contact support