您的位置:首页 > 运维架构 > Linux

CentOS x64上Matlab R2015b的镜像安装方法与卸载

2016-06-14 08:56 639 查看

文章转载自:http://www.linuxidc.com/Linux/2015-11/125153.htm

CentOS x64上Matlab R2015b的镜像安装方法与卸载

CentOS x64上Matlab R2015b的镜像安装方法与卸载

0. 原料

(1). CentOS_x64系统 CentOS 2.6.32-573.el6.x86_64

(2). Matlab  R2015b_glnxa64.iso,可以从百度网盘下载到:链接: http://pan.baidu.com/s/1dD9F8RJ 密码: t8zi

1. CentOS/Linux 安装MATLAB

(0). Matlab的安装说明readme.txt,全文摘抄如下(可略过)。

I offer two modes of installation:

1) standalone:

- Install choosing the option "Use a File Installation Key" and supply the following FIK

 aaaaa-bbbbb-ccccc-ddddd-eeeee-xxxxx

- To install Matlab Production Server,using this

 aaaaa-bbbbb-ccccc-ddddd-eeeee

- Use license_standalone.lic to activate,

  or make a "licenses" folder in %installdir% and copy license_standalone.lic to it,and run matlab without activation

- after the installation finishes copy the folders to %installdir% to overwriting the originally installed files

2) floating license (network license server):

- Install choosing the option "Use a File Installation Key" and supply the following FIK

 aaaaa-bbbbb-ccccc-ddddd-eeeee-fffff

- To install Matlab Production Server,using this

 aaaaa-bbbbb-ccccc-ddddd-eeeee

- Use license_server.lic when asked

- after the installation finishes copy the folders to %installdir% to overwriting the originally installed files

(1). 挂载ISO镜像文件

$ sudo mount -o loop R2015b_glnxa64.iso /mnt/tmp

(2). 执行安装过程,选择不联网安装,序列号在~/crack/readme.txt文件中。

$ cd /mnt/tmp

$ sudo ./install

(3). 安装完毕,采用不联网激活,找到相应的激活文件*.lic,并且将~/crack/bin/中的文件复制到~/MATLAB/Rxxxx/bin中。

$ sudo cp /[Your crack directory]/Matlab_R2015b/Matlab_2015b_Linux64_Crack/R2015b/bin/glnxa64/* /usr/local/MATLAB/R2015b/bin/glnxa64

(4). 卸载ISO镜像。

$ sudo umount /mnt/tmp

(5). 添加桌面快捷方式。

新建一个桌面配置文件,文件名为Matab_2015b.desktop: $ gedit Matlab_2015b.desktop ,其内容如下:

[Desktop Entry]

Name=Matlab 2015b

Exec=/usr/local/MATLAB/R2015b/bin/matlab -desktop

Icon=/home/She/Documents/MATLAB/matlab.png

Type=Application

Name[zh_CN]=Matlab_2015b

红色字体是图标文件的绝对路径,请修改到它所在的正确位置。

把这个桌面配置文件复制到桌面,即可在桌面得到一个Matlab启动的快捷方式;如果将它复制到/usr/share/applications,则得到主面板菜单栏的快捷方式。

注:想获得主面板菜单栏的快捷方式,只复制到/usr/share/applications是不够的。复制结束之后去/usr/local/MATLAB/R2015b/bin/目录下打开终端,输入命令“matlab”打开Matlab,这时在左侧的主面板菜单栏会有刚才添加的Matlab图标出现,在图标上点击右键,选择把它固定到主面板菜单栏即可。

还不行的话,试试sudo chmod 777 /usr/share/applications/Matlab_2015b.desktop

然后打开文件夹/usr/share/applications/, 把文件Matlab_2015b.desktop直接拖动到主面板菜单栏快捷启动栏。。。

$ cp Matlab_2015b.desktop /home/She/桌面

$ sudo cp Matlab_2015b.desktop /usr/share/applications

安装完毕,单击桌面上的快捷方式,试试能不能用吧?Happy Matlab!

2. CentOS/Linux 卸载MATLAB

$ sudo rm -rf /usr/local/MATLAB/R2014b

$ sudo rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild # 仅供参考,这些文件可能不存在

Ubuntu Server上安装Matlabhttp://www.linuxidc.com/Linux/2014-09/106242.htm

Matlab与C/C++联合编程之从Matlab调用C/C++代码 http://www.linuxidc.com/Linux/2012-08/68148.htm
二分类SVM方法Matlab实现 http://www.linuxidc.com/Linux/2013-05/84050.htm
Matlab中的取整函数fix, floor, ceil与round http://www.linuxidc.com/Linux/2013-10/91161.htm
Matlab编译cuda的.cu文件 http://www.linuxidc.com/Linux/2014-04/100675.htm
Linux Matlab服务器进一步改造成Application Server(应用程序服务器) http://www.linuxidc.com/Linux/2014-09/106340.htm
更多CentOS相关信息见CentOS 专题页面http://www.linuxidc.com/topicnews.aspx?tid=14

本文永久更新链接地址http://www.linuxidc.com/Linux/2015-11/125153.htm/usr/local/MATLAB/R2015b/bin/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: