`
thecloud
  • 浏览: 880562 次
文章分类
社区版块
存档分类
最新评论

ubuntu server 12.04 install matlab

 
阅读更多

ubuntu版本:server ,12.04,;matlab 版本:2009a,unix版;

以下采用命令行安装:

1、挂载matlab iso:

fansy@matalb2:~/matlab$ ls
matlab_unix_2009b.iso
fansy@matalb2:~/matlab$ sudo mount -o loop matlab_unix_2009b.iso /mnt
[sudo] password for fansy: 
mount: warning: /mnt seems to be mounted read-only.
fansy@matalb2:~/matlab$ cd /mnt
查看/mnt下面的文件:

fansy@matalb2:~$ ls -al /mnt
total 2927
dr-xr-xr-x  7 root root    2048 Sep 12  2009 .
drwxr-xr-x 22 root root    4096 Apr 11 18:32 ..
dr-xr-xr-x  3 root root    2048 Sep 12  2009 .rr_moved
dr-xr-xr-x  3 root root    2048 Jul  1  2009 InstallForMacOSX.app
-r-xr-xr-x  1 root root    4107 Jun 25  2009 activate.ini
dr-xr-xr-x  2 root root    2048 Sep 12  2009 crack
-r-xr-xr-x  1 root root 1122665 Jul 17  2009 inst_doc.pdf
-r-xr-xr-x  1 root root   43827 Jun 30  2009 install
-r-xr-xr-x  1 root root   73744 Jul 14  2009 license.txt
-r-xr-xr-x  1 root root 1728373 Jul 17  2009 mac_install_guide.pdf
-r-xr-xr-x  1 root root    5786 Jun 30  2009 readme.txt
dr-xr-xr-x  6 root root    2048 Aug 13  2009 update
dr-xr-xr-x  3 root root    2048 Jul  1  2009 utils
2、安装matlab:

fansy@matalb2:/mnt$ ./install* -t
出现下面的界面:

   ---------------------------------------------------------------------------
   | Please review the license agreement on the next set of screens.  On any |
   | screen the options to proceed are at the bottom.  Type your response    |
   | at the prompt.                                                          |
   ---------------------------------------------------------------------------

                      The MathWorks, Inc. [screen 1 of 52]
                      -------------------                 
Software License Agreement 


IMPORTANT NOTICE

READ THE TERMS AND CONDITIONS OF YOUR LICENSE AGREEMENT CAREFULLY BEFORE 
COPYING, INSTALLING, OR USING THE PROGRAMS OR DOCUMENTATION.

THE LICENSE AGREEMENT TOGETHER WITH ANY APPLICABLE ADDENDUM REPRESENTS 
THE ENTIRE AGREEMENT BETWEEN YOU (THE "LICENSEE") AND THE MATHWORKS, INC. 
("MATHWORKS") CONCERNING THE PROGRAM(S) AND DOCUMENTATION.

BY COPYING, INSTALLING, OR USING THE PROGRAMS AND DOCUMENTATION, YOU 
ACCEPT THE TERMS OF THIS AGREEMENT.  IF YOU ARE NOT WILLING TO DO SO, DO NOT 
COPY, INSTALL, OR USE THE PROGRAMS AND DOCUMENTATION. 

_________________________________________________________________
----------------------------------------------------------------------------
                >>>>>>>> For this License Agreement <<<<<<<<
Enter either:  <return>       a        r        p      ^C
To:          [next screen] [accept] [reject] [print] [abort]
输入:a,提示少包,如果你的电脑也是不能上网的,或者说sudo apt-get install 用不了的话,那么恭喜你,和我一样(我的是虚拟机,没有设好网络,导致不能上网),那么可以下载下面的包:

http://packages.ubunut.com/cs/raring/i386/libsm6/download

http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/x11-common_7.6+12ubuntu1_all.deb/download/

http://pkgs.org/ubuntu-10.04/ubuntu-main-i386/libice6_1.0.6-1_i386.deb/download/

http://pkgs.org/ubuntu-10.04/ubuntu-main-i386/libxt6_1.0.7-1_i386.deb/download/

http://pkgs.org/ubuntu-11.10/ubuntu-main-i386/libxmu6_1.1.0-2_i386.deb/download/

http://pkgs.org/debian-sid/debian-main-i386/libxp6_1.0.0.xsf1-2_i386.deb/download/

上面导入包的想法来自:http://ubuntugeeknerd.blogspot.com/2010/07/how-to-install-matlab-on-ubuntu-server.html,并且要保证你的ubuntu server 安装有java,这个说明来自:http://www.mathworks.com/matlabcentral/newsreader/view_thread/303303

上面安装的包也可以从下面下载:http://download.csdn.net/detail/fansy1990/5245922

安装完上面的安装包后,重新运行./install -t 输入 :a

得到下面的界面:

Welcome to the MATLAB R2009b installer.
Copyright 1984-2009 by The MathWorks, Inc.
The MathWorks products are protected by one or more
U.S. patents.  See www.mathworks.com/patents.

You may be required to activate your software.

Enter the MATLAB root folder > [/mnt] 
3、输入安装目录和install_key

Enter the MATLAB root folder > [/mnt] /home/fansy/matlab2009
Enter your File Installation Key > 36322-23096-57999-54517-22630

install_key 在 /mnt/crack/install.txt 里面

得到下面的界面:

------------------------------INSTALLATION-----------------------------
-----------------------------Base Products-----------------------------

--------------------------------Platforms------------------------------
 1)* Linux (x86)          2)  Linux (x86_64)       3)  Mac OS X (Intel)    
 4)  Mac OS X (Intel 64)  5)  Solaris 64          
--------------------------------Products------------------------------
 6)* MATLAB Distributed Computing Server 7)* MATLAB                             
 8)* Simulink                            9)* Aerospace Blockset                 
10)* Aerospace Toolbox                  11)* Bioinformatics Toolbox             
12)* Communications Blockset            13)* Communications Toolbox             
14)* Control System Toolbox             15)* Curve Fitting Toolbox              
16)* Database Toolbox                   17)* Datafeed Toolbox                   
18)* Econometrics Toolbox               19)* EDA Simulator Link                 
20)* Filter Design HDL Coder            21)* Filter Design Toolbox              
22)* Financial Derivatives Toolbox      23)* Financial Toolbox                  
24)* Fixed-Income Toolbox               25)* Fixed-Point Toolbox                
26)* Fuzzy Logic Toolbox                27)* Genetic Algorithm and Direct Search Toolbox
28)* Image Processing Toolbox           29)* Instrument Control Toolbox         
30)* Mapping Toolbox                    31)* MATLAB Builder JA                  
32)* MATLAB Compiler                    33)* MATLAB Report Generator            
34)* Model Predictive Control Toolbox   35)* Neural Network Toolbox             
36)* Optimization Toolbox               37)* Parallel Computing Toolbox         
38)* Partial Differential Equation Toolbox39)* Real-Time Workshop                 
40)* Real-Time Workshop Embedded Coder  41)* RF Blockset                        
42)* RF Toolbox                         43)* Robust Control Toolbox             
44)* Signal Processing Blockset         45)* Signal Processing Toolbox          
46)* SimBiology                         47)* SimDriveline                       
48)* SimElectronics                     49)* SimEvents                          
50)* SimHydraulics                      51)* SimMechanics                       
52)* SimPowerSystems                    53)* Simscape                           
54)* Simulink 3D Animation              55)* Simulink Control Design            
56)* Simulink Design Optimization       57)* Simulink Design Verifier           
58)* Simulink Fixed Point               59)* Simulink HDL Coder                 
60)* Simulink Report Generator          61)* Simulink Verification and Validation
62)* Spline Toolbox                     63)* Stateflow                          
64)* Stateflow Coder                    65)* Statistics Toolbox                 
66)* Symbolic Math Toolbox              67)* System Identification Toolbox      
68)* SystemTest                         69)* Video and Image Processing Blockset
70)* Wavelet Toolbox                    
-------> Total installation 3855422 KBytes
Enter a number to toggle installing or [c] to continue > ^C
直接enter:

------------------------------SUMMARY-------------------------------
INSTALL:Product MATLAB Distributed Computing Server Rev4.2    for All
INSTALL:Product MATLAB Distributed Computing Server Rev4.2    for Linux (x86)
INSTALL:Product MATLAB             Rev7.9    for All
INSTALL:Product MATLAB             Rev7.9    for Linux (x86)
INSTALL:Product Simulink            Rev7.4    for All
INSTALL:Product Simulink            Rev7.4    for Linux (x86)
INSTALL:Product Aerospace Blockset       Rev3.4    for All
INSTALL:Product Aerospace Blockset       Rev3.4    for Linux (x86)
INSTALL:Product Aerospace Toolbox       Rev2.4    for All
INSTALL:Product Aerospace Toolbox       Rev2.4    for Linux (x86)
INSTALL:Product Bioinformatics Toolbox     Rev3.4    for All
INSTALL:Product Bioinformatics Toolbox     Rev3.4    for Linux (x86)
INSTALL:Product Communications Blockset    Rev4.3    for All
INSTALL:Product Communications Blockset    Rev4.3    for Linux (x86)
INSTALL:Product Communications Toolbox     Rev4.4    for All
INSTALL:Product Communications Toolbox     Rev4.4    for Linux (x86)
INSTALL:Product Control System Toolbox     Rev8.4    for All
INSTALL:Product Control System Toolbox     Rev8.4    for Linux (x86)
INSTALL:Product Curve Fitting Toolbox     Rev2.1    for All
INSTALL:Product Curve Fitting Toolbox     Rev2.1    for Linux (x86)
INSTALL:Product Database Toolbox        Rev3.6    for All
INSTALL:Product Datafeed Toolbox        Rev3.4    for All
INSTALL:Product Econometrics Toolbox      Rev1.2    for All
INSTALL:Product Econometrics Toolbox      Rev1.2    for Linux (x86)
INSTALL:Product EDA Simulator Link       Rev3.0    for All
INSTALL:Product EDA Simulator Link       Rev3.0    for Linux (x86)
INSTALL:Product Filter Design HDL Coder    Rev2.5    for All
INSTALL:Product Filter Design Toolbox     Rev4.6    for All
INSTALL:Product Filter Design Toolbox     Rev4.6    for Linux (x86)
INSTALL:Product Financial Derivatives Toolbox Rev5.5    for All
INSTALL:Product Financial Toolbox       Rev3.7    for All
INSTALL:Product Fixed-Income Toolbox      Rev1.8    for All
INSTALL:Product Fixed-Point Toolbox      Rev3.0    for All
INSTALL:Product Fixed-Point Toolbox      Rev3.0    for Linux (x86)
INSTALL:Product Fuzzy Logic Toolbox      Rev2.2.10   for All
INSTALL:Product Fuzzy Logic Toolbox      Rev2.2.10   for Linux (x86)
INSTALL:Product Genetic Algorithm and Direct Search Toolbox Rev2.4.2   for All
INSTALL:Product Image Processing Toolbox    Rev6.4    for All
INSTALL:Product Image Processing Toolbox    Rev6.4    for Linux (x86)
INSTALL:Product Instrument Control Toolbox   Rev2.9    for All
INSTALL:Product Instrument Control Toolbox   Rev2.9    for Linux (x86)
INSTALL:Product Mapping Toolbox        Rev3.0    for All
INSTALL:Product Mapping Toolbox        Rev3.0    for Linux (x86)
INSTALL:Product MATLAB Builder JA       Rev2.0.4   for All
INSTALL:Product MATLAB Builder JA       Rev2.0.4   for Linux (x86)
INSTALL:Product MATLAB Compiler        Rev4.11    for All
INSTALL:Product MATLAB Compiler        Rev4.11    for Linux (x86)
INSTALL:Product MATLAB Report Generator    Rev3.7    for All
INSTALL:Product MATLAB Report Generator    Rev3.7    for Linux (x86)
INSTALL:Product Model Predictive Control Toolbox Rev3.1.1   for All
INSTALL:Product Model Predictive Control Toolbox Rev3.1.1   for Linux (x86)
INSTALL:Product Neural Network Toolbox     Rev6.0.3   for All
INSTALL:Product Optimization Toolbox      Rev4.3    for All
INSTALL:Product Optimization Toolbox      Rev4.3    for Linux (x86)
INSTALL:Product Parallel Computing Toolbox   Rev4.2    for All
INSTALL:Product Parallel Computing Toolbox   Rev4.2    for Linux (x86)
INSTALL:Product Partial Differential Equation Toolbox Rev1.0.15   for All
INSTALL:Product Real-Time Workshop       Rev7.4    for All
INSTALL:Product Real-Time Workshop       Rev7.4    for Linux (x86)
INSTALL:Product Real-Time Workshop Embedded Coder Rev5.4    for All
INSTALL:Product Real-Time Workshop Embedded Coder Rev5.4    for Linux (x86)
INSTALL:Product RF Blockset          Rev2.5    for All
INSTALL:Product RF Blockset          Rev2.5    for Linux (x86)
INSTALL:Product RF Toolbox           Rev2.6    for All
INSTALL:Product Robust Control Toolbox     Rev3.4    for All
INSTALL:Product Robust Control Toolbox     Rev3.4    for Linux (x86)
INSTALL:Product Signal Processing Blockset   Rev6.10    for All
INSTALL:Product Signal Processing Blockset   Rev6.10    for Linux (x86)
INSTALL:Product Signal Processing Toolbox   Rev6.12    for All
INSTALL:Product Signal Processing Toolbox   Rev6.12    for Linux (x86)
INSTALL:Product SimBiology           Rev3.1    for All
INSTALL:Product SimBiology           Rev3.1    for Linux (x86)
INSTALL:Product SimDriveline          Rev1.5.3   for All
INSTALL:Product SimDriveline          Rev1.5.3   for Linux (x86)
INSTALL:Product SimElectronics         Rev1.3    for All
INSTALL:Product SimElectronics         Rev1.3    for Linux (x86)
INSTALL:Product SimEvents           Rev3.0    for All
INSTALL:Product SimEvents           Rev3.0    for Linux (x86)
INSTALL:Product SimHydraulics         Rev1.6    for All
INSTALL:Product SimHydraulics         Rev1.6    for Linux (x86)
INSTALL:Product SimMechanics          Rev3.1.1   for All
INSTALL:Product SimMechanics          Rev3.1.1   for Linux (x86)
INSTALL:Product SimPowerSystems        Rev5.2    for All
INSTALL:Product SimPowerSystems        Rev5.2    for Linux (x86)
INSTALL:Product Simscape            Rev3.2    for All
INSTALL:Product Simscape            Rev3.2    for Linux (x86)
INSTALL:Product Simulink 3D Animation     Rev5.1    for All
INSTALL:Product Simulink 3D Animation     Rev5.1    for Linux (x86)
INSTALL:Product Simulink Control Design    Rev3.0    for All
INSTALL:Product Simulink Design Optimization  Rev1.1    for All
INSTALL:Product Simulink Design Optimization  Rev1.1    for Linux (x86)
INSTALL:Product Simulink Design Verifier    Rev1.5    for All
INSTALL:Product Simulink Design Verifier    Rev1.5    for Linux (x86)
INSTALL:Product Simulink Fixed Point      Rev6.2    for All
INSTALL:Product Simulink HDL Coder       Rev1.6    for All
INSTALL:Product Simulink HDL Coder       Rev1.6    for Linux (x86)
INSTALL:Product Simulink Report Generator   Rev3.7    for All
INSTALL:Product Simulink Report Generator   Rev3.7    for Linux (x86)
INSTALL:Product Simulink Verification and Validation Rev2.6    for All
INSTALL:Product Simulink Verification and Validation Rev2.6    for Linux (x86)
INSTALL:Product Spline Toolbox         Rev3.3.7   for All
INSTALL:Product Stateflow           Rev7.4    for All
INSTALL:Product Stateflow           Rev7.4    for Linux (x86)
INSTALL:Product Stateflow Coder        Rev7.4    for All
INSTALL:Product Statistics Toolbox       Rev7.2    for All
INSTALL:Product Statistics Toolbox       Rev7.2    for Linux (x86)
INSTALL:Product Symbolic Math Toolbox     Rev5.3    for All
INSTALL:Product Symbolic Math Toolbox     Rev5.3    for Linux (x86)
INSTALL:Product System Identification Toolbox Rev7.3.1   for All
INSTALL:Product System Identification Toolbox Rev7.3.1   for Linux (x86)
INSTALL:Product SystemTest           Rev2.4    for All
INSTALL:Product SystemTest           Rev2.4    for Linux (x86)
INSTALL:Product Video and Image Processing Blockset Rev2.8    for All
INSTALL:Product Video and Image Processing Blockset Rev2.8    for Linux (x86)
INSTALL:Product Wavelet Toolbox        Rev4.4.1   for All
-------> Total installation 3855422 KBytes
Begin Installation ? ([y]/n)  

Starting Installation

Installing please wait...
Installing MATLAB for Linux (x86) ...
。。。

Installation 100% complete.


The MATLAB installer is finished.  This installation needs to be
activated prior to use.  The activation application will
be launched now.
fansy@matalb2:/mnt$ Could not open display. Exiting.

这样算是安装成功了?

事实却不是,下篇可以使用网络安装,将不会出现少包的情况吧。

上面虽然安装成功,但是跑$MATLAB_HOME/bin/matlab还是报告少包。









分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics