下载
在网上下载
安装步骤
- 挂载
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
-如果无法创建路径 /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
继续接着DVD1的弹出的窗口安装 finish
- 权限
cd /usr/local/MATLAB/R2016b/bin
新建“licenses”文件并赋予其权限:
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复制到安装目录中 [/usr/local/MATLAB/R2016b/bin/license]
cd /LinuxMATLAB/Matlab2016bLinux64Crack
sudo cp license_standalone.lic /usr/local/MATLAB/R2016b/bin/license
复制破解文件[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
(没有权限或者报错就回到[3权限]按照步骤再来一次)
- 取消挂载
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 #设置快捷方式
matlab #启动MATLAB