sudo apt-get install freeglut3-dev g++ gfortran libgd2-xpm-dev libglew1.5-dev libjpeg62-dev\
libx11-dev libxaw7-dev libnetpbm10-dev swig python-dev python-scipy python-numpy libtiff4-dev\scons units libblas-dev libcairo2-dev libavcodec-dev libplplot-dev
进入src目录,生成Makefile文件
./configure –prefix=/home/maqz/rsf
make; sudo make install
编辑/home/maqz/rsf/etc/madagascar/env.sh文件,修改DATAPATH值
在.bashrc中加入如下内容
source /home/maqz/rsf/etc/madagascar/env.sh