下载:https://bitbucket.org/psrsoft/tempo2/downloads
在安装TEMPO2之前需要安装pgplot、FFTW、CFITSIO等数学库
安装时,注意运行./configure
后输出的日志信息,会提示是否缺少依赖库等
1.配置环境变量
for tcsh
setenv TEMPO2 $HOME/tempo2runtime
cp -r T2runtime/ $TEMPO
for bash
export TEMPO2=$HOME/tempo2runtime
cp -r T2runtime/ $TEMPO2
2.安装
其中$HOME
在ubuntu系统中是/usr/local
,在macos下/Users/username
转移文件目录后即可简单的运行:
./configure --prefix=$PREFIX #prefix可指定安装路径,默认在usr/local下
make -j2
make install
</br>
</br>
北京师范大学
图形图像与模式识别实验室
sibofeng@mail.bnu.edu.cn