標籤:
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,則得到主面板功能表列的捷徑。
$ 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上安裝Matlab http://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 x64上Matlab R2015b的鏡像安裝方法與卸載