Miriad 安装
下载所需的源码、编译版本等
首先下载压缩包:
1 2 3 4 5
| $ mkdir /usr/local/astrosoft $ cd /usr/local/astrosoft/ $ wget ftp://ftp.atnf.csiro.au/pub/software/miriad/miriad-common.tar.bz2 $ wget ftp://ftp.atnf.csiro.au/pub/software/miriad/miriad-code.tar.bz2 $ wget ftp://ftp.atnf.csiro.au/pub/software/miriad/miriad-linux64.tar.bz2
|
解压
1 2 3 4
| $ cd /usr/local/astrosoft/ $ tar xvf miriad-common.tar.bz2 $ tar xvf miriad-code.tar.bz2 $ tar xvf miriad-code.tar.bz2
|
安装依赖配置环境
1 2 3 4 5 6 7 8 9
| $ cd /usr/local/astrosoft/miriad $ sudo apt -y install libncurses-dev $ sudo yum -y install ncurses-devel $ export MIR=/usr/local/astrosoft/miriad $ sed -e "s,@MIRROOT@,$MIR," scripts/MIRRC.in > MIRRC $ sed -e "s,@MIRROOT@,$MIR," scripts/MIRRC.sh.in > MIRRC.sh $ source MIRRC.sh $ source $MIR/MIRRC.sh $ export PATH=$MIRBIN:$PATH
|
参考
详细的可以参考 https://shaoguangleo.github.io/tags/AstroSoft/