1.下载 octave 3.2.0
wget ftp://ftp.octave.org/pub/octave/octave-3.2.2.tar.bz2
2.解压并进入解压后的文件夹
$ tar jxvf oct*.tar.bz2
$ cd octa*
3.to install many things:
主要是装gfortran, 并
$ configure f77=gfortran
装有包有如下的,装不上的不管,好像没啥影响
==========================================
sudo apt-get build-dep octave
sudo apt-get install g77
sudo apt-get install f2c
sudo apt-get install fort77
sudo apt-get install gfortran
sudo apt-get install xlibs-dev
sudo apt-get install libx11-dev
sudo apt-get install x11-dev
sudo apt-get install build-essential
sudo apt-get install checkinstall
sudo apt-get install cvs git-core mercurial
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install libumfpack
sudo apt-get install libumfpack4-dev
sudo apt-get install bootparamd
sudo apt-get install enamdict
sudo apt-get install libarpack2
sudo apt-get install libarpack2-dev
sudo apt-get install libarpack++2c2a
sudo apt-get install libarpack++2-dev
sudo apt-get install glpk
sudo apt-get install libglpk0
sudo apt-get install libncurses5-dev
sudo apt-get install libreadline5-dev
sudo apt-get install libsuitesparse-dev
sudo apt-get install fftw3-dev
sudo apt-get install libglpk-dev
sudo apt-get install libhdf5-serial-dev
sudo apt-get install libpcre3-dev
sudo apt-get install libqhull-dev
sudo apt-get install gperf
sudo apt-get install gnuplot
==========================================
4. make & make install
5. 装 communication 包
一些包可在 下载到;
communications 包依赖于 signal,optim,specfun,miscellaneous 四个包,所以下载这5个包
%20Forge%20Packages/R2009-06-07/optim-1.0.6.tar.gz
%20Forge%20Packages/R2009-06-07/signal-1.0.10.tar.gz
%20Forge%20Packages/R2009-05-08/specfun-1.0.8.tar.gz
%20Forge%20Packages/R2009-06-07/miscellaneous-1.0.9.tar.gz
%20Forge%20Packages/R2009-06-07/communications-1.0.10.tar.gz
另一个下载地址:
上述各包的依赖关系:
下载完以后, $ echo "pkg install name*.tar.gz" | octave -q 依次装上各 tar.gz 包
参考文章:
[1]
[2]
[3]
阅读(2446) | 评论(0) | 转发(0) |