【Linux软件安装】Ubuntu12.04:matlab2010a

system:ubuntu12.04 LTS 32bit      software:matlab2010a

1、Installation:

yunz@HP-Linux:~ $ cd ~/Downloads
yunz@HP-Linux:~/Downloads $ ls
TLF-SOFT-Mathworks.Matlab.R2010a.UNIX.ISO-TBE.iso
yunz@HP-Linux:~/Downloads $sudo mkdir /mnt/temp
[sudo] password for yunz:
mkdir: cannot create directory `/mnt/temp': File exists
yunz@HP-Linux:~/Downloads $ sudo mount -o loop \TLF-SOFT-Mathworks.Matlab.R2010a.UNIX.ISO-TBE.iso /mnt/temp
mount: warning: /mnt/temp seems to be mounted read-only.

yunz@HP-Linux:~ $ cd /mnt/temp
yunz@HP-Linux:/mnt/temp $ ls
activate.ini  install               inst_doc.pdf  mac_install_guide.pdf  update
crack         InstallForMacOSX.app  license.txt   readme.txt             utils
yunz@HP-Linux:~ $ sudo ./install

2、Errorshooting:

error:
the x11 library libxp.so does not exist.
sol:
sudo apt-get install libxp6
@http://www.mathworks.cn/support/solutions/en/data/1-12E9FJ/

error:
libc.so.6: not found
sol:
sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6
@http://www.mathworks.cn/support/solutions/en/data/1-F68FSA/index.html

error:
Cannot write to preference file "matlab.prf" in "/home/chris/.matlab/R2008a".
Check file permissions.
The desktop configuration was not saved successfully
The desktop configuration was not saved successfully
This lines appear in the matlab command window.
sol:
sudo chown -R ${USER}:${USER} ~/.matlab
sudo chown -R yunz /home/yunz/.matlab

3、Optimization

Can I use MATLAB from the Terminal Command Line in OS X?
I believe you should be able type
matlab -nodesktop
@http://www.mathworks.com/matlabcentral/answers/16407

你可能感兴趣的:(Linux)