% set iraf=/data/IRAF2.17/
% cd ${iraf}
% mkdir Tar
Then download the the source code into that directory via HTTP from
http://tdc-www.harvard.edu/iraf/rvsao/rvsao-2.8.5.tar.gz
If you don't want to recompile the package, precompiled binary files
for IRAF 2.16.1 on CentOS 7 are available via HTTP from
http://tdc-www.harvard.edu/iraf/rvsao/rvsao-2.8.5-bin.linux64.tar.gz
% cd ${iraf}extern
% gzcat ../Tar/rvsao-2.8.5.tar.gz | tar xvf -
The archive file can be deleted once the package has been
successfully installed. Note that the directory name will include the version,
so that any previously installed versions of RVSAO will not be overwritten.
If replacing a previous version:
% rm rvsaoWe symbolically link the version directory to a generic directory:
% ln -s rvsao-2.8.5 rvsao
% cd ${iraf}extern
% gzcat ../Tar/rvsao-2.8.5-bin.linux64.tar.gz | tar xvf -
% cd ${iraf}unix/hlib/libc
% ln -s ../../../noao/lib/smw.h smw.h
% cd ${iraf}lib
% ln -s ../noao/bin/libsmw.a libsmw.a
relink:
# !mkpkg -p noao -p rvsao nrelink
!mkpkg nrelink
;
to
relink:
!mkpkg -p noao -p rvsao nrelink
# !mkpkg nrelink
;
cl> cd rvsao
On a PC running Linux,
cl> mkpkg linux64
On a PC running Cygwin,
cl> mkpkg cygwin
On a Macintosh running OS X,
cl> mkpkg macosx
cl> cd rvsao
cl> mkpkg update >& rvsao.spool
The spool file should be reviewed upon completion to make sure
there were no errors.
cl> rvsao
cl> rvrelearn
Any new parameters will be installed with their default values while
keeping your old values for the remaining ones. If the script crashes
partway through, run it again until it completes.
Repeat this procedure by running IRAF in each IRAF home directory you may have. The RVSAO task relearn, which is used on each of the other RVSAO tasks, is useful for updating tasks in other packages which have added parameters in new releases.