Ubuntu-18-安装ncl-Linux-安装ncl

#下载地址:https://www.earthsystemgrid.org/dataset/ncl.650.dap/file.html

apt install wget axel vim -y
cd /usr/local
wget https://www.earthsystemgrid.org/dataset/ncl.650.dap/file/ncl_ncarg-6.5.0-Debian9.4_64bit_gnu630.tar.gz
或者
axel -n 10  https://www.earthsystemgrid.org/dataset/ncl.650.dap/file/ncl_ncarg-6.5.0-Debian9.4_64bit_gnu630.tar.gz

解压
gunzip ncl_ncarg-6.5.0-CYGWIN_NT-10.0-WOW_i686.tar.gz
tar -xvf ncl_ncarg-6.5.0-CYGWIN_NT-10.0-WOW_i686.tar

#设置变量
export NCARG_ROOT=/usr/local
export PATH=/usr/local/bin:$PATH

cat >~/.bashrc<<EOF
export NCARG_ROOT=/usr/local
export PATH=/usr/local/bin:$PATH
EOF

apt install -y libxrender-dev libxrender1
apt install libgfortran3  -y
apt install libgomp1 -y