View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

patch1.tar.gz and scisoft

Guest wrote on Oct 04, 2008

Hello,

I installed IRAF v2.14 from the Scisoft collection. I want to apply the v2.14.1 patch. Do I have to uninstall/reinstall IRAF? I am not a Linux expert, just a user. Please give me some suggestions.

Thanks.

Siti :oops:

Mike Fitzpatrick wrote on Oct 04, 2008

The patch file updates the sources only (i.e. new parameter files, help pages, etc) and should be unpacked in the $iraf root directory. To complete the upgrade you will also need to re-install the IB (core iraf) and NB (NOAO package) binary distributions in the $iraf/bin.<arch> and $iraf/noao/bin.<arch> directories respectively. In your case, '$iraf' will be the directory in the scisoft distribution tree, on most systems this may also be found as /iraf/iraf. The patch and distribution files are compressed tar files you can unpack with the command, e.g.

tar zxvf patch1.tar.gz


-Mike

Guest wrote on Oct 04, 2008

Hi Mike,

I appreciate your reply. Out of curiosity, I did the
Code: tar zxvf patch1.tar.gz
somewhere in my home directory. Can you explain to me, apart from unpacking the tar.gz file, what this command does?

Are the directories below correct?
/scisoft/share/iraf/iraf – $iraf root directory
/scisoft/share/iraf/iraf/bin.redhat – $iraf/bin.<arch>
/scisoft/share/iraf/iraf/noao/bin.redhat – $iraf/noao/bin.<arch>

Therefore, am I supposed to “tar zxvf patch1.tar.gz” in /scisoft/share/iraf/iraf directory?
Can you explain in more detail how to “re-install the IB (core iraf) and NB (NOAO package)” in the last two directories? By the way I am using Fedora core 6 because Scisoft is built on it. Thank you for further assistance.

Siti :)

Mike Fitzpatrick wrote on Oct 04, 2008

I appreciate your reply. Out of curiosity, I did the
Code: tar zxvf patch1.tar.gz
somewhere in my home directory. Can you explain to me, apart from unpacking the tar.gz file, what this command does?


"Somewhere in your home directory" is not good enough, it MUST be done in the iraf root directory (in your case, /scisoft/share/iraf/iraf) because what it does is unpack the compressed iraf source tarball in whatever directory you're in. You need to do this in the iraf root so the parameter files, help files, etc are overwritten with the new version to have any effect.


Are the directories below correct?
/scisoft/share/iraf/iraf – $iraf root directory
/scisoft/share/iraf/iraf/bin.redhat – $iraf/bin.<arch>
/scisoft/share/iraf/iraf/noao/bin.redhat – $iraf/noao/bin.<arch>


Assuming your scisoft installation has $iraf as /scisoft/share/iraf/iraf, then, yes.


Therefore, am I supposed to “tar zxvf patch1.tar.gz” in /scisoft/share/iraf/iraf directory?


Yes

Can you explain in more detail how to “re-install the IB (core iraf) and NB (NOAO package)” in the last two directories?


By this I mean you need to download and install the ib.rhux.x86.gz (the IB file) and nb.rhux.x86.gz file (the NB file) and unpack them with the same 'tar zxvf <file>' command in the /scisoft/share/iraf/iraf/bin.redhat and /scisoft/share/iraf/iraf/noao/bin.redhat directories respectively.

Upgrading v2.14 to v2.14.1 is a matter of applying the source patch and reinstalling the binaries, if you do a fresh install of IRAF from the latest downloads (i.e. from the archive/iraf.net site and not the current SciSoft distro) this is already at v2.14.1.

Cheers,
-Mike

Guest wrote on Oct 04, 2008

Hi Mike,

Thanks for giving me some ideas on what to do. I refer to PC-IRAF V2.12 Installation Guide, 2002. After doing tar zxvf <file> in the three directories you mentioned, do I have to do all the stuff below?

% 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

I didn't go through all these. My default shell is bash. Thanks.

Siti :)

Mike Fitzpatrick wrote on Oct 04, 2008

If the system was already installed, then you don't have to do any of the things you list. This is simply an update of the files.

-Mike

Guest wrote on Oct 04, 2008

Mike, thanks for helping a non-IT specialist/would be astronomer. To all the IRAF staff, please keep this forum alive.

Siti 8)

Last post on Oct 04, 2008