本文主要参考:http://blog.csdn.net/lanbing510/article/details/41698285
1.下载
从http://pan.baidu.com/s/1o6qKdxo#path=%252Fmatlab 下载Matlab2014的Linux版本及破解文件
2. 下载完成后将iso文件挂载到Linux
sudo mkdir /media/matlab
mount -o loop [path][filename].iso /media/matlab
cd /media/matlab
sudo ./install
进行安装……
安装时出现:
Error: Installation cannot proceed. You may either:
1. Set an X11 display, and restart the install process
2. Use the silent install feature by specifying the -mode silent option
等等问题,根据提示安装时采用命令:
./install -mode silent -agreeToLicense yes -fileInstallationKey 1111-1111-1111-1111
序列号是随便写的,只要是这个格式就行了
3.破解
安装完成后使用crack下的 license进行激活
将crack文件夹下的libmwservices.so copy到 /usr/local/MATLAB/R2014A/bin/glnxa64
4.问题解决
完成安装,命令行下使用sudo matlab即可启动使用
出现:
Error: Activation cannot proceed. You may either:
1. Set an X11 display, and restart the activation process
2. Use the silent activation feature
3. Activate using the license center
解决方法:
(1) 新建激活文件 activate.ini
isSilent=true //开启silent模式
activateCommand=activateOffline //设置激活方式, 离线激活
licenseFile=/path/lic_standalone.dat //license文件位置 *.dat or *.lic
开始以为必须是*.dat文件,后来发现lic文件也行
(2)静默执行破解
sh /usr/local/matlab/bin/activate_matlab.sh -propertiesFile /path/activate.ini
(3)为了访问matlab时不用加路径,添加环境变量
在 /etc/profile 中添加:
#set matlab evvironment
export PATH=$PATH:/usr/local/matlab/bin
并执行 source /etc/profile
5. 安装和破解完成
命令行输入matlab就可启动了。。。。。