首先,用tar zxvf arcsim-0.2.1.tar.gz 将软件包解压
然后,打开里面的INSTALL文件,按照里面的步骤一步一步安装库。Ubuntu13.04下
1、BLAS
sudo apt-get install libblas-dev libblas3gf
sudo apt-get install libatlas-base-dev
2、Boost
收藏了一个别人的随笔,里面有记载
http://blog.csdn.net/yhrun/article/details/8099630
或者是输入sudo apt-get install libboost-all-dev
3、freeglut
Ubuntu下安装OpenGL/Glut库
1.Ubuntu下安装OpenGL/Glut库
OpenGL(全写Open Graphics Library)是个定义了一个跨编程语言、跨平台的编程接口的规格,它用于三维图象(二维的亦可)。OpenGL是个专业的图形程序接口,是一个功能强大,调用方便的底层图形库。
ubuntu下安装OpenGL的方式如下:
sudo apt-get install freeglut3 freeglut3-dev #freeglut是一款开源的图形编程接口
sudo apt-get install binutils-gold #Ubuntu>=11.10的版本需要安装此包以解决连接问题
4、gfortran
sudo apt-get install gfortran
5、LAPACK
Lapack package is available in ubuntu software centre... Search for liblapack...
Install all the files... Also search for libblas as blas files are essential for running a lapack subroutine. Install all the libblas files.
Using linux command line this can be done by typing the following commands:
sudo apt-get install libblas3gf
sudo apt-get install libblas-doc
sudo apt-get install libblas-dev
sudo apt-get install liblapack3gf
sudo apt-get install liblapack-doc
sudo apt-get install liblapack-dev
6、libpng
sudo apt-get install libpng-d
7、然后在arcim-0.2.1的dependencies的文件里面运行make,再到父目录中运行make
8、按照INSTALL文件里面说的运行试试看
OK