This is the process I followed to install Matlab 2010b on Ubuntu 11.04 (updates for Matlab 2010bSP1 on 11.10 and 12.04)

First extract the appropriate archive (either 64bit (glnxa64) or 32bit (glnx86) depending on which you installed ) onto your HDD. Then copy the contents of the CD over that, this gets the appropriate JRE into the install.

create a blank .lic file somewhere on your HDD

goto the directory in the terminal and run:

sudo ./install

enter your password

Install "manually without the internet"

Accept the license agreement

Enter the file installation key provided by support

Choose either typical or custom installation, if you do go custom do not install the license manager

Select the .lic file you created for the license file path

You might get some error messages about the license file, just ignore these

You now need to add the license to the environmental variables this is done by adding

MLM_LICENSE_FILE=<path provided by support>



Then run the following command in 11.04:

For 64 bit:

sudo ln -s /lib64/x86_64-linux-gnu/ /lib64/

For 32 bit:

sudo ln -s /lib/i386-linux-gnu/ /lib/

or for 11.10:

For 64 bit:

sudo ln -s /lib/x86_64-linux-gnu/ /lib64/

For 32 bit (untested, but I assume this would be the case):

sudo ln -s /lib/i386-linux-gnu/ /lib/

or for 12.04:

For 64 bit:

sudo ln -s /lib/x86_64-linux-gnu/ /lib64/

For 32 bit (untested, but I assume this would be the case):

sudo ln -s /lib/i386-linux-gnu/ /lib/

In 11.10 and 12.04 you will also need to modify:


to include

export PATH={path to Matlab bin without a trailing slash}:$PATH

for example the default install would need:

export PATH=/usr/local/MATLAB/R2010bSP1/bin:$PATH

Try running

. ~/.profile

If that does not work then restart

Matlab is run from the terminal by typing


-- DavidBraude - 05 Aug 2011

Edit | Attach | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 22 May 2012 - 08:45:04 - DavidBraude
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies