Installation order:
Download DS9 (binary), dump it in /opt and make a Symlink to /usr/local/bin
ln -s /opt/ds9/ds9 /usr/local/bin/ds9
General Resources:
Files needed for Version 2.14 (Other Linux):
Get some dependencies
$ aptitude install tcsh
Create an Iraf user with directory and shell:
$ useradd -m -s /bin/tcsh iraf
Make a Symlink to adhere to standard directory structure:
$ ln -s /home/iraf /iraf
Extract the files (they're tar.gz even though the filename only ends in .gz) to get the following structure:
/iraf
/ \
(AS) /iraf /irafbin
/ \
(IB) bin.redhat noao.bin.redhat (NB)
Make imdir:
$ mkdir -p /iraf/imdirs
Install and configure Iraf:
$ cd /iraf/iraf/unix/hlib/ $ install
NB: If you want to create symlinks to the binaries in /usr/local/bin, install requires root privileges.
To run Iraf, log in as your favourite user and do
$ mkdir $SOME_IRAF_DIRECTORY $ cd $SOME_IRAF_DIRECTORY $ mkiraf $ vim config.cl $ cl
Instead of editing the config.cl, you could use this one.
Make directory:
$ mkdir -p /iraf/x11iraf
Unpack the file there, then run (as superuser):
$ ./install
Install some dependencies
$ aptitude install python-tk python-numpy python-decorator
To compile Pyraf, we need some headers
$ aptitude install python-dev xorg-dev
Install Pytools and Pyraf via (after unpacking)
$ python setup.py install
There might be additional dependencies; watch out!