User Tools

Site Tools


iraf

Iraf / Pyraf (Ubuntu 8.04.4)

Installation order:

  1. DS9
  2. Iraf
  3. X11Iraf
  4. Pyraf

DS9

Download DS9 (binary), dump it in /opt and make a Symlink to /usr/local/bin

ln -s /opt/ds9/ds9 /usr/local/bin/ds9

Iraf Core

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.

X11Iraf

Make directory:

$ mkdir -p /iraf/x11iraf

Unpack the file there, then run (as superuser):

$ ./install

Pyraf

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!

iraf.txt · Last modified: 2013/07/10 07:02 (external edit)