1.文件准备
我把Matlab2018a安装镜像及破解文件放在了/home/haes/Downloads/matlab下
2.挂载dvd1
在/home/haes/Downloads/matlab/下:
mkdir dvd
sudo mount -t auto -o loop /home/haes/Downloads/matlab/R2018a_glnxa64_dvd1.iso dvd/
sudo /home/haes/Downloads/matlab/dvd/install
3.挂载dvd2
再打开一个终端:
sudo mount -t auto -o loop /home/haes/Downloads/matlab/R2018a_glnxa64_dvd2.iso dvd/
点击继续安装
4.输入秘钥
安装过程中选择Use a File Installation Key
Key在Matlab 2018a Linux64 Crack文件夹下的readme.txt中
选择红框中的key
5.激活Matlab
断网
Matlab默认安装在/usr/local/MATLAB下
打开Matlab
sudo /usr/local/MATLAB/R2018a/bin/matlab
第一次启动比较慢,等一等
出现激活框后,选择:Activate manually without the Internet
然后选择破解文件,具体路径是/home/haes/Downloads/matlab/Matlab 2018a Linux64 Crack/license_server.lic
还需要再弄一个破解软件,将/home/haes/Downloads/matlab/Matlab 2018a Linux64 Crack/R2018a/bin/glnxa64/matlab_startup_plugins下的libmwlmgrimpl.so复制到/usr/local/MATLAB/R2018a/bin/glnxa64/matlab_startup_plugins/lmgrimpl下
sudo cp -f /home/haes/Downloads/matlab/Matlab 2018a Linux64 Crack/R2018a/bin/glnxa64/matlab_startup_plugins/libmwlmgrimpl.so /usr/local/MATLAB/R2018a/bin/glnxa64/matlab_startup_plugins/lmgrimpl
顺便取消挂载(相当于弹出光盘)
sudo umount /home/haes/Downloads/matlab/dvd/
6.创建桌面快捷方式
sudo gedit /usr/share/applications/Matlab2018a.desktop
在弹出的文本框中输入,保存退出
[Desktop Entry]
Encoding=UTF-8
Name=Matlab 2018a
Comment=MATLAB
Exec=/usr/local/MATLAB/R2018a/bin/matlab
Icon=/usr/local/MATLAB/R2018a/toolbox/shared/dastudio/resources/MatlabIcon.png
Terminal=true
Type=Application
Categories=Application;
重启使用matlab