Sun/IRAF V2.11 Installation Guide

Sun/IRAF V2.11 Installation Guide

Appendix A. A Complete Example

Assume we are installing IRAF for the first time on a sparcstation that will be used as a server for both Solaris and SunOS systems in a local network. The IRAF directories will be located at /u3/iraf using a symbolic link /iraf to point to this location. We will configure both sets of 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.ssol.gen/as.* | uncompress | tar -xpf -
%
% cd /iraf                              # create BIN directories
% mkdir irafbin
% mkdir irafbin/bin.ssun
% mkdir irafbin/noao.bin.ssun
% mkdir irafbin/bin.sparc
% mkdir irafbin/noao.bin.sparc
%
% cd $iraf/bin.ssun                     # unpack core bin.ssun
% cat /scr0/ib.ssol.sun/ib.* | uncompress | tar -xpf -
%
% cd $iraf/noao/bin.ssun                # unpack NOAO bin.ssun
% cat /scr0/nb.ssol.sun/nb.* | uncompress | tar -xpf -
%
% cd $iraf/bin.sparc                    # unpack core bin.sparc
% cat /scr0/ib.ssol.spc/ib.* | uncompress | tar -xpf -
%
% cd $iraf/noao/bin.sparc               # unpack NOAO bin.sparc
% cat /scr0/nb.ssol.spc/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, on a standalone system system where only one set of binaries are needed you can skip either the bin.ssun or bin.sparc binary installation. 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 SunOS/Solaris IRAF V2.11 Site Manager's Guide for information on how to configure IRAF for the local site.