下載
在網(wǎng)上下載
安裝步驟
- 掛載
mkdir /mnt/tmp
sudo mount -t auto -o loop *…._dvd1.iso /mnt/tmp
- 安裝
cd
/mnt/tmp/install
彈出安裝窗口后步驟:
1)Use a file instaltion key next
2)Yes next
3)I have the File Instaltion key from ... 09806-07443-53955-64350-21751-41297 next
4)[選擇安裝路徑:/usr/local/MATLAB/R2016b] next
Failed to create folder (/usr/local/MATLAB/R2016b) next
-如果無法創(chuàng)建路徑 /mnt/tmp/install
-解決方法:root下安裝(sudo su)
sudo su
輸入密碼后
/mnt/tmp/install
5)all tools next
6)[11,721MB] install
...........等幾分鐘...........
7)[Eject DVD1 and insert DVD2 to continue]
新建終端窗口掛載DVD2,
sudo mount -t auto -o loop /home/lu/Downloads/matlab/R2016b_glnxa64_dvd2.iso /mnt/tmp
繼續(xù)接著DVD1的彈出的窗口安裝 finish
- 權(quán)限
cd /usr/local/MATLAB/R2016b/bin
新建“l(fā)icenses”文件并賦予其權(quán)限:
sudo mkdir licenses
cd /usr/local/MATLAB/R2016b/bin/licenses
sudo chmod 777 license_standalone.lic
cd /usr/local/MATLAB
sudo chmod -R 777 R2016b
把license_standalone.lic復(fù)制到安裝目錄中 [/usr/local/MATLAB/R2016b/bin/license]
cd /LinuxMATLAB/Matlab2016bLinux64Crack
sudo cp license_standalone.lic /usr/local/MATLAB/R2016b/bin/license
復(fù)制破解文件[libmwservices.so libcufft.so.7.5.18 libinstutil.so libmwlmgrimpl.so]到安裝路徑 [/usr/local/MATLAB/R2016b/bin/glnxa64]:
cd /home/LinuxMATLAB/Matlab 2016b Linux64 Crack/R2016b/bin/glnxa64
sudo cp libmwservices.so /usr/local/MATLAB/R2016b/bin/glnxa64
sudo cp libcufft.so.7.5.18 /usr/local/MATLAB/R2016b/bin/glnxa64
sudo cp libinstutil.so /usr/local/MATLAB/R2016b/bin/glnxa64
sudo cp libmwlmgrimpl.so /usr/local/MATLAB/R2016b/bin/glnxa64
-
激活
啟動MATLAB后會彈出激活窗口
cd /usr/local/MATLAB/R2016b/bin
./matlab
選擇手動激活并[browse]選擇破解文件中的standalone[/home/lu/Downloads/matlab/Matlab2016bLinux64Crack/license_standalone.lic]那個文件 activation complete finish
(沒有權(quán)限或者報錯就回到[3權(quán)限]按照步驟再來一次)
- 取消掛載
sudo umount /mnt/tmp #掛載的鏡像取消掛載
到此MATLAB安裝完畢
啟動MATLAB
- 輸入路徑啟動MATLAB
cd /usr/local/MATLAB/R2016b/bin
./matlab
- 直接在終端輸入matlab就可以打開MATLAB
sudo ln -s /usr/local/MATLAB/R2016b/bin/matlab /usr/local/bin/matlab #設(shè)置快捷方式
matlab #啟動MATLAB