centos 7 安装matlab 2017b
2018-05-02 本文已影响0人
Persistently
-
挂载matlab镜像
sudo mkdir /mnt/matlab sudo mount -o loop /home/data/package/R2017b_glxna64.iso /mnt/matlab cd /mnt/matlab
-
安装 MATLAB
sudo ./install -fileInstallationKey 09806-07443-53955-64350-21751-41297 -agreeToLicense yes -mode silent -activationPropertiesFile /home/data/package/matlab/Crack/license_standalone.lic
安装秘钥在破解文件的readme文件中, license根据自己存放的路径
-
将破解文件拷贝到目录下
cp xx/Crack /usr/local/MATLAB/R2017b/ sudo cp /usr/local/MATLAB/R2017b/Crack/libmwservices.so /usr/local/MATLAB/R2017b/bin/glnxa64/
4.添加acivate.ini
cd /usr/local/MATLAB/R2017b
vi activate.ini
isSilent=true
activateCommand=activateOffline
licenseFile=/usr/local/MATLAB/R2017b/Crack/license_standalone.lic (因为之前把Crack文件拷到了安装目录下了)
- 激活MATLAB
/usr/local/MATLAB/R2017b/bin/activate_matlab.sh -propertiesFile /usr/local/MATLAB/R2017b/activate.ini
-
添加全局变量
vi /etc/profile export PATH=/usr/local/MATLAB/R2017b/bin:$PATH
-
启动MATLAB
输入matlab,即可启动
但是报错了,libXext.so.6: cannot open shared object file:yum install libXext,缺少什么安装什么