安装环境
ubuntu_20.04_vm_desktop
mkdir -p /opt/app
apt-get update
apt-get install gfortran -y
apt-get install pgplot5 libncurses5-dev libx11-dev -y
apt-get install vim -y
apt-get install gimp -y
apt-get install inkscape -y
apt-get install spyder3 -y
apt-get install python3-scipy python3-numpy python3-matplotlib python3-astropy python3-pandas -y
CASA
官网release包下载:CASA官网
cd /opt/app
wget https://casa.nrao.edu/download/distro/casa/release/rhel/casa-6.6.3-22-py3.8.el7.tar.xz
tar xvf casa-6.6.3-22-py3.8.el7.tar.xz
mkdir -p /opt/app/casa/6.6.3-22-py3.8.el7
cd casa-6.6.3-22-py3.8.el7
mv * /opt/app/casa/6.6.3-22-py3.8.el7
rm -rf casa-6.6.3-22-py3.8.el7 casa-6.6.3-22-py3.8.el7.tar.xz
export PATH=$PATH:/opt/app/casa/6.6.3-22-py3.8.el7/bin
软件使用命令
/opt/app/casa/6.6.3-22-py3.8.el7/bin/casa
或 casa
Difmap
cd /opt/app
wget ftp://ftp.astro.caltech.edu:21/pub/difmap/difmap2.5p.tar.gz
tar xvf difmap2.5p.tar.gz
mkdir -p /opt/app/difmap/2.5p
mv /opt/app/uvf_difmap_2.5p/* /opt/app/difmap/2.5p
cd /opt/app/difmap/2.5p
./configure linux-i486-gcc
./makeall
ln –s /opt/app/difmap/2.5p/difmap /usr/bin/difmap