Linux入门(4)——Ubuntu16.04安装MATLAB2016b

时间:2021-10-09 06:36:38

通常有三个安装文件:

Matlab 2016b Linux64 Crack.rar

R2016b_glnxa64_dvd1.iso

R2016b_glnxa64_dvd2.iso


sudo apt install rar

 

Matlab 2016b Linux64 Crack.rar 解压到当前路径


挂载目录:

mkdir /home/ltq/matlab2016
sudo mount -t auto -o loop /home/ltq/LinuxMATLAB/R2016b_glnxa64_dvd1.iso /home/ltq/matlab2016


安装R2016b_glnxa64_dvd1.iso

sudo /home/ltq/matlab2016/install

弹出界面,开始安装。

安装R2016b_glnxa64_dvd2.iso

sudo mount -t auto -o loop /home/ltq/LinuxMATLAB/R2016b_glnxa64_dvd2.iso /home/ltq/matlab2016

 

进入目录:

cd /usr/local/MATLAB/R2016b/bin

 

新建“licenses”文件并赋予其权限:

sudo mkdir licenses
sudo chmod 777 licenses

 

复制破解文件:

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
cd
/LinuxMATLAB/Matlab 2016b Linux64 Crack
sudo cp license_standalone.lic /usr/local/MATLAB/R2016b/bin/licenses
更新权限
cd /usr/local/MATLAB/R2016b/bin/licenses
sudo chmod 777 license_standalone.lic

cd
/usr/local/MATLAB
sudo chmod -R 777 R2016b

 获取支持(快捷方式等)

sudo apt-get install matlab-support