系统信息
已有环境及app
1、Anaconda
2、ds9
3、Xgterm
安装步骤![](https://img-blog.csdnimg.cn/6d02648ddf4e461499aae2bd6f4fae86.png)
安装
- Download the self-extractable archive:
curl ftp://siesoft:siesoft@ftp.iac.es/iraf-2.16.1_macOS.run -o iraf-2.16.1_macOS.run
2. Run the archive
sudo bash iraf-2.16.1_macOS.run
环境配置
-
在配置文件中(.bashrc或.zshrc)
export iraf="/opt/iraf/iraf/"
export PATH=${PATH}:/usr/local/bin
export tmp=/tmp/
export host=/iraf/iraf/unix/
export IRAFARCH=macintel
source $iraf/unix/hlib/irafuser.sh
export IMTDEV=inet:5137
Set up IRAF
- 首先创建iraf文件夹(按行运行步骤)
cd ~/
mkdir iraf ; cd iraf
mkiraf (select xgterm as terminal type)
xgterm & or
xgterm -ls &
- 检查log.cl文件
如果cache设置为“/tmp”或“/tmp//”,将其更改为“/tmp/cache/”或“/iraf/cache/”
- 在终端输入一下命令进入iraf
cd ~/iraf/ ds9 & ecl or cl
参考:https://research.iac.es/sieinvens/siepedia/pmwiki.php?n=HOWTOs.IrafMacOSX
-
https://blog.csdn.net/wanyu1097/article/details/86509566?spm=1001.2014.3001.5502