0%

AstroSoft 安装 Miriad

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 # Ubuntu
$ sudo yum -y install ncurses-devel # CentOS
$ 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/

处无为之事,行不言之教;作而弗始,生而弗有,为而弗恃,功成不居!

欢迎关注我的其它发布渠道