Octave在linux下安装

Octave在linux下安装

By--"悸动的青春ゞ


(1)    下载octave-3.8.1.tar.gz  地址:http://pan.baidu.com/s/1pOD4q

(2)    tar -xvf octave-3.8.1.tar.gz

(3)    进入到目录octave

(4)    ./autogen.sh

(5)    ./configure--prefix=/usr/local/octave/ --enable-64 --enable-openmp --with-PACKAGE=ARG--with-x 
这里说明下:/usr/local/octave362/为我设置的安装目录,要求支持64为,支持openmp,也就是并行计算,支持包,支持x-window

(6)    Make

(7)    make install

 

 

安装一些依赖文件,不能保证全部,所以大家应根据configure的信息再次进行调整,缺什么补什么:

sudo yum install g77

sudo yum install install g++

sudo yum install f2c

sudo yum install fort77

sudo yum install gfortran

sudo yum install r-base

sudo yum install xlibs-dev

sudo yum install libx11-dev

sudo yum install x11-dev

sudo yum install build-essential

sudo yum install checkinstall

sudo yum install cvs git-core mercurial

sudo yum install flex

sudo yum install bison

sudo yum install libumfpack

sudo yum install libumfpack4-dev

sudo yum install bootparamd

sudo yum install enamdict

sudo yum install libarpack2

sudo yum install libarpack2-dev

sudo yum install libarpack++2c2a

sudo yum install libarpack++2-dev

sudo yum install glpk

sudo yum install libglpk0

sudo yum install libncurses5-dev

sudo yum install libreadline5-dev

sudo yum install libsuitesparse-dev

sudo yum install fftw3-dev

sudo yum install libglpk-dev

sudo yum install libhdf5-serial-dev

sudo yum install libpcre3-dev

sudo yum install libqhull-dev

sudo yum install gperf

sudo yum install gnuplot

sudo yum install libreadline-dev

sudo yum install libqrupdate-dev

sudo yum install libGraphicsMagick++

sudo yum install libfltk1.1-dev

sudo yum install libcurl4-gnutls-dev

sudo yum install texinfo

sudo yum install libfontconfig-dev

复制到脚本里,直接运行即可

你可能感兴趣的:(linux,octave)