Here is how to install the RVSAO package in your local IRAF system
 
1)	The package is distributed as a tar archive; IRAF is distributed
	with a tar reader.  The tar archive may be obtained by magnetic
	tape or anonymous ftp.  For magnetic tape go to step [2] and when
	reading the tar archive simply mount the tape and use the tape
	device name for the archive name in step [4].  To obtain the package
	via http, go to http://tdc-www.harvard.edu/iraf/rvsao , click
	on "Download to Install", save the package gzipped tar file to any
	reasonable directory <tardir>, and follow the rest of these directions.
 
2)	Unpack the tar file into the IRAF external package root directory.
	In IRAF 2.16, this is ${iraf}extern/ . 
	On a UNIX system, where <tardir> is the pathname of the directory
	into which the package was downloaded and <extdir> the IRAF external
	package root directory:

	    % cd <extdir>
	    % zcat <tardir>/rvsao-2.8.4.tar.gz | tar xvf -

	The archive file can be deleted once the package has been
	successfully installed.

3)	Log in as IRAF and edit the extern.pkg file in the hlib directory to
	define the package to the CL.  From the IRAF account, outside the CL,
	you can move to this directory with the command:

            % cd $hlib

	Define the environment variable rvsao to be the pathname to the rvsao
	root directory.  UNIX pathnames must be terminated with a '/'.
	Edit extern.pkg to include:

            reset rvsao	= <directory>/rvsao-2.8.4/
            task  rvsao.pkg   = rvsao$rvsao.cl

	Near the end of the hlib$extern.pkg file, update the definition
	of helpdb so it includes the rvsao help database, copying the syntax
	already used in the string.  Add this line before the line containing
	a closing quote:
 
	    ,rvsao$lib/helpdb.mip\

4)      Add to hlib$clpackage.men the package description:
 
            rvsao - Radial velocity package from SAO
 
6)      Type "logout", restart IRAF and "cd rvsao".

7)	Using the appropriate mkpkg command below, symbolically link the
	appropriate binary directory to bin/.
	(bin/ is originally linked to bin.generic/ for distribution.)

	On a Linux PC running Linux version 3 or later
	    cl> mkpkg linux64

	On a Linux PC running Linux version 2 or earlier
	    cl> mkpkg linux

        On a PC running Redhat Linux, type
	    cl> mkpkg redhat

        On an Apple Macintosh running OS X on an Intel processor, type
	    cl> mkpkg macintel

        On an Apple Macintosh running OS X, type
	    cl> mkpkg macosx

        On a PC running Cygwin, type
	    cl> mkpkg cygwin

        On a SPARCstation running Solaris, type
	    cl> mkpkg ssun

	For other architectures, make a directory of the proper bin.{arch}
	name, and link it to bin

8)      Make the package by typing
	    cl> mkpkg update >&mkpkg.log

	The log file should be reviewed upon completion to make sure
	there were no errors.

9)	In addition to the IRAF help pages for each task, there is
	up-to-date hypertext help available on the World Wide Web at
	http://tdc-www.harvard.edu/iraf/rvsao/

10)	Scripts to run many RVSAO tasks from the Linux/Unix command line
	are in the rvsao$Shell/ subdirectory. To customize them for your
	system, change the path to the CL executable in the unix/bin.[ARCH]
	directory on the first line of each of the scripts there, and add
	the Shell directory pathname to your shell search path.

-Jessica Mink, February 5, 2021
 http://tdc-www.harvard.edu/mink 

