MATLAB R2012a 安裝到 Ubuntu 12.10

Create A MATLAB Launcherlinux

1. Get an icon:ubuntu

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.pngapp

2. Get the launcher file:ip

sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2012a.desktop' -O /usr/share/applications/matlab.desktopget

3.修改快捷方式的屬性爲/usr/local/MATLAB/R2012a/bin/matlab -desktopit

4. libc.so.6 not foundio

/usr/local/MATLAB/R2012a/bin/util/oscheck.sh: /lib64/libc.so.6: not found or /usr/local/MATLAB/R2012a/bin/util/oscheck.sh: /lib/libc.so.6: not foundfile

when you launch MATLAB. R2012a is aimed at Ubuntu 10.04 for which libc.so.6 was located in /lib for 32 bits and in /lib64 for 64 bits. It are now both located in a different subdirectory of /lib. To help MATLAB find it, just make a symbolic linkim

For 64 bits users (that got the first error):error

sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6

For 32 bits users (that got the second error):

sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6

相關文章
相關標籤/搜索