IBM AIX/IRAF Installation Guide

IBM AIX/IRAF Installation Guide

Appendix A. A Complete Example

Assume we are installing IRAF for the first time on a RS/6000 running IBM AIX 3.2.x or greater. The IRAF directories will be located at /u3/iraf using a symbolic link /iraf to point to this location. We will configure only rs6000 binaries, locating the BIN directories in the directory /iraf/irafbin. The local user commands will be placed in /usr/local/bin. We will be installing from a network distribution with the distribution files located in /scr0.

The first step is for the superuser to create an account for the fictitious user `iraf', with home directory /iraf/iraf/local and shell /bin/csh. The /u3/iraf directory is created owned by IRAF, and pointed to by the link /iraf. We then login as IRAF (a warning message will be printed since there is no login directory) and proceed as follows.

% whoami
iraf
%
% setenv iraf /iraf/iraf/               # set root directory
% mkdir /iraf/iraf
%
% cd $iraf                              # unpack main IRAF distribution
% cat /scr0/as.aix3.gen/as.* | uncompress | tar -xpf -
%
% cd /iraf                              # create BIN directories
% mkdir irafbin
% mkdir irafbin/bin.rs6000
% mkdir irafbin/noao.bin.rs6000
%
% cd $iraf/bin.rs6000                   # unpack core bin.rs6000
% cat /scr0/ib.aix3.rs6/ib.* | uncompress | tar -xpf -
%
% cd $iraf/noao/bin.rs6000              # unpack NOAO bin.rs6000
% cat /scr0/nb.aix3.rs6/nb.* | uncompress | tar -xpf -
%
% cd $iraf/unix/hlib                    # run the INSTALL script
% source irafuser.csh
% ./install -n
% su
# ./install
# exit
%
% cd
% source .login                         # read new .login
% rehash                                # pick up new iraf commands
% cl                                    # verify that the CL runs

This will fully install IRAF on a server or a standalone system. If this version of IRAF will be accessed via NFS by client nodes then the IRAF install script must be run on each client node as well. Installing IRAF does not allow one to access local tape drives, printers, and so on. Refer to the UNIX/IRAF Site Manager's Guide for information on how to configure IRAF for the local site.