0%

AstroSoft 安装 Tempo

如何安装Tempo – how to install Tempo

如果只是使用,那么可以使用下面一个命令来获取Tempo的运行环境(需要安装docker):

1
2
3
$ docker run -it shaoguangleo/ubuntu-tempo
# or
$ docker run -it shaoguangleo/centos-tempo

如果希望运行图形界面,运行下述命令:

1
2
3
$ docker run -it -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix shaoguangleo/ubuntu-tempo
# or
$ docker run -it -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix shaoguangleo/centos-tempo

如果希望体验一下Tempo,安装如下所示,配置参考[ASTROSOFT_CONFIG][astrosoft_config]:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$ tar zxvf tempo.tar.gz
$ cd tempo
$ ./prepare
$ ./configure --prefix=/usr/local/tempo
$ make
$ make install
$ cp -rv clock ephem tzpar util /usr/local/tempo
$ cp tempo.hlp /usr/local/tempo
$ cp obsys.dat /usr/local/tempo
$ echo "export PATH=$PATH:/usr/local/tempo/bin" >> ~/.bashrc
$ echo "export TEMPO=/usr/local/tempo" >> ~/.bashrc
$ echo "export CLKDIR=/usr/local/tempo/clock" >> ~/.bashrc
$ echo "export PARDIR=/usr/local/tempo/tzpar" >> ~/.bashrc
$ echo "export EPHDIR=/usr/local/tempo/ephem" >> ~/.bashrc
$ echo "export OBSYS=/usr/local/tempo/obsys.dat" >> ~/.bashrc
处无为之事,行不言之教;作而弗始,生而弗有,为而弗恃,功成不居!

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