So, found myself installing IRAF on a friend’s laptop running Ubuntu. There are some decent tutorials online about the general steps: for example, this one, and the official one. However, they all skip all possible issues that could come up (or at least, that popped up in my case). This is another good resource about the setup, config and usage (but skip the Ureka parts).
The community-maintained version of IRAF allows easy installation on some systems, such as Ubuntu.
The thing is that IRAF is a jumble of stunningly old pieces of software working together on primitive terminals and on peculiar conditions.
In random order, possible issues/tips are:
- If the packages iraf-all pyraf-all stsci show as non-existent, you have not added the astroconda channel. The command should be
conda config --add channels http://ssb.stsci.edu/astroconda
- You will still need to manually install ds9:
sudo apt install saods9
- You do not need to change the default shell to tcsh, although you need it to be installed:
sudo apt install tcsh
- If xgterm does not execute with error File not found, although the file is clearly there, make sure you have installed 32 bit dependencies:
sudo apt-get install libc6:i386 libz1:i386 libncurses5:i386 libbz2-1.0:i386 libuuid1:i386 libxcb1:i386 libxmu6:i386
condacommands do not work, make sure you have activated the Python environment containing the iraf packages:
source activate iraf27
In the end, the exact set of commands that got the whole environment working has been: Continue reading