Anonymous: |
10/04/2008 03:26AM (Read 4543 times)
|
|
|
|
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
|
|
|
|
fitz |
10/04/2008 03:26AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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.[code:1:daec16549b]tar zxvf patch1.tar.gz[/code:1:daec16549b]-Mike
|
|
|
|
Anonymous: |
10/04/2008 03:26AM
|
|
|
|
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
|
|
|
|
fitz |
10/04/2008 03:26AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
[quote:da24ecdd41]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?
[/quote:da24ecdd41]"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.[quote:da24ecdd41]
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>
[/quote:da24ecdd41]Assuming your scisoft installation has $iraf as /scisoft/share/iraf/iraf, then, yes.[quote:da24ecdd41]
Therefore, am I supposed to “tar zxvf patch1.tar.gz” in /scisoft/share/iraf/iraf directory?[/quote:da24ecdd41]Yes[quote:da24ecdd41]Can you explain in more detail how to “re-install the IB (core iraf) and NB (NOAO package)” in the last two directories? [/quote:da24ecdd41]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
|
|
|
|
Anonymous: |
10/04/2008 03:26AM
|
|
|
|
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
% clI didn't go through all these. My default shell is bash. Thanks.Siti
|
|
|
|
fitz |
10/04/2008 03:26AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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
|
|
|
|
Anonymous: |
10/04/2008 03:26AM
|
|
|
|
Mike, thanks for helping a non-IT specialist/would be astronomer. To all the IRAF staff, please keep this forum alive. Siti 8)
|
|
|
|