Installing IRAF on Suse


= IRAF Setup on Suse Enterprise Linux 10 =

This is for beginners who stuck with IRAF installation on their Suse. It should work well with all Suse editions. But my experience was with Suse Linux Enterprise Desktop 10.1.

This page describes how to setup IRAF on a 32-bit Suse LED 10 machine. (In my case, it

was done on a machine with MSI MB and pentium AMD Athlon 64 bit processor.

Installation of X11IRAF, DS9, Tables, and STSDAS are also included.
It will be easiest if you just copy-paste the instructions one by one.
Please be sure to read and implement the instructions in [[brackets]] as well.

Note:The following method was taken from

and made some minor changes which came in my experience.

You must have super user previlege in order to do the following operations.



Make directories:

sudo mkdir /iraf
sudo chgrp root /iraf
[['root' is in my case. add instead what is your username. Normally It should work with 'root'.]]
sudo chown $USER /iraf 
[['USER' means whatever is your username.]]

mkdir /iraf/tar
mkdir /iraf/iraf
mkdir /iraf/irafbin
mkdir /iraf/irafbin/bin.suse
mkdir /iraf/irafbin/noao.bin.suse

cd /iraf/tar
# all sources (generic stuff)
# iraf binaries
# noao binaries
cd /iraf/iraf
tar xfzp /iraf/tar/as.pcix.gen.gz
cd /iraf/irafbin/bin.suse
tar xfzp /iraf/tar/ib.suse.x86.gz
cd /iraf/irafbin/noao.bin.suse
tar xfzp /iraf/tar/nb.suse.x86.gz

Now basic functionality is available. But you probably want more…

Download and install extra’s:

cd /iraf/tar
ecl (replaces cl):

This thing uses termcap. Use ‘sudo yast -i’ to install it.

sudo ecl_install_linux.csh
x11iraf (xgterm):
mkdir x11iraf
cd x11iraf
tar xfz x11iraf-v1.3.1-bin.suse.tar.gz
sudo ./install
tar xfz ds9.linux.4.13.tar.gz
sudo cp ds9 /usr/local/bin
x11iraf (xgterm):
mkdir x11iraf
cd x11iraf
tar xfz x11iraf-v1.3.1-bin.suse.tar.gz
sudo ./install
Settings Usable for all users:
sudo tcsh
cd /iraf/iraf/unix/hlib
setenv iraf /iraf/iraf/
chmod 755 irafuser.csh
source ./irafuser.csh
Change the ownership to iraf:
sudo chown -R /iraf . # change dir owner
cd $hbin # go to HSI bin dir
sudo chown 0 alloc.e # fix alloc.e ownership
sudo chmod 4755 alloc.e # fix permissions

[[Each User should give the command ‘mkiraf‘ the first time when they are using iraf.
Then give xgterm as an option for the choices. Then it will create a login file ‘
and ‘uparm‘ directory.]]