| | 40 | |
| | 41 | = IRAF INSTALLATION = |
| | 42 | Binaries/Packages for IRAF installation: |
| | 43 | {{{ |
| | 44 | http://iraf.noao.edu/iraf/ftp/iraf/v212/PCIX/ |
| | 45 | |
| | 46 | as.pcix.gen.gz All-Sources (main IRAF distribution) |
| | 47 | ib.lnux.x86.gz Core system binaries for Linux (generic) |
| | 48 | nb.lnux.x86.gz NOAO package binaries for Linux (generic) |
| | 49 | |
| | 50 | patch2a/ IRAF V2.12.2a patch release files |
| | 51 | |
| | 52 | pciraf.ps.gz PC-IRAF Installation Guide (compressed) |
| | 53 | unixsmg.ps.gz IRAF V2.12 Site Manager's Guide (compressed) |
| | 54 | guiapps.readme GUIAPPS installation instructions |
| | 55 | guiapps.tar.Z GUI Applications package |
| | 56 | }}} |
| | 57 | Will test the following installation procedure are noted by the following email correspondance: |
| | 58 | |
| | 59 | >> I don't expect that you're going to be able to convince your |
| | 60 | > observers/data analysts to use anything but iraf. So I suggest my |
| | 61 | > 3-step Hacker's Installation Procedure for Iraf: |
| | 62 | unfortunately |
| | 63 | |
| | 64 | > Download as.pcix.gen.gz, ib.lnux.x86.gz, nb.lnux.x86.gz, and |
| | 65 | > extract them as follows: |
| | 66 | > |
| | 67 | > Extract this To here |
| | 68 | > ------------------------------- |
| | 69 | > as.pcix.gen.gz ./iraf/ |
| | 70 | > ib.lnux.x86.gz ./irafbin/bin.linux/ |
| | 71 | > nb.lnux.x86.gz ./irafbin/noao.bin.linux/ |
| | 72 | > ib.lnux.x86.gz ./irafbin/bin.linux/ |
| | 73 | > nb.lnux.x86.gz ./irafbin/noao.bin.linux/ |
| | 74 | > |
| | 75 | > The root directory ("./") is arbitrary; for this type of installation, |
| | 76 | > I suggest /opt/iraf/ or /usr/local/iraf/; /usr/iraf/ and /iraf/ are |
| | 77 | > other possibilities (but don't fit into the standard hierarchy as |
| | 78 | > nicely). |
| | 79 | > |
| | 80 | > You must edit ./iraf/unix/hlib/libc/iraf.h with the chosen |
| | 81 | > installation path and create a symlink: |
| | 82 | > |
| | 83 | > /usr/include/iraf.h => ./iraf/unix/hlib/libc/iraf.h |
| | 84 | > |
| | 85 | > That's enough to run ./irafbin/bin.linux/cl.e, and probably do most |
| | 86 | > analysis but you should run the full install script to do other stuff |
| | 87 | > too (edit other files, set up networking, make symlinks in /usr/bin/, |
| | 88 | > etc.): |
| | 89 | > |
| | 90 | > ./iraf/unix/hlib/install |
| | 91 | > |
| | 92 | > (This is the part that scares most people, but I save it for last, since it |
| | 93 | > doesn't seem to be necessary for most things). |
| | 94 | So this should be _the_ steps that has to be ascomplished on the deb wrapper ? |
| | 95 | {{{ |
| | 96 | |
| | 97 | 2.1 Special Note to LNUX Architecture Users |
| | 98 | -------------------------------------------- |
| | 99 | |
| | 100 | The V2.12.2 HSI binaries (mkpkg, xc, hardcopy translators, etc) |
| | 101 | have a known problem affecting compilation of local tasks or external |
| | 102 | packages and should be replaced. This patch fixes the problem, however to |
| | 103 | fix only the compilation issues a new set of HSI binaries are also being |
| | 104 | made available the patch directory as |
| | 105 | |
| | 106 | ftp://iraf.noao.edu/iraf/v212/PCIX/patch2a/hbin.lnux.x86.gz |
| | 107 | |
| | 108 | To use this file, simply download in binary mode and unpack in the |
| | 109 | $iraf/unix/bin.linux directory. |
| | 110 | |
| | 111 | |
| | 112 | |
| | 113 | root@metis:/usr/local/iraf# cd iraf |
| | 114 | root@metis:/usr/local/iraf/iraf# cat /usr/local/iraf/as.pcix.gen.gz | zcat | tar -xpf - |
| | 115 | root@metis:/usr/local/iraf/iraf# |
| | 116 | root@metis:/usr/local/iraf# cd irafbin |
| | 117 | root@metis:/usr/local/iraf/irafbin# ls |
| | 118 | bin.linux noao.bin.linux |
| | 119 | root@metis:/usr/local/iraf/irafbin# cd bin.linux |
| | 120 | root@metis:/usr/local/iraf/irafbin/bin.linux# ls |
| | 121 | root@metis:/usr/local/iraf/irafbin/bin.linux# cat /usr/local/iraf/ib.lnux.x86.gz | zcat | tar -xpf - |
| | 122 | root@metis:/usr/local/iraf/irafbin/bin.linux# cd .. |
| | 123 | root@metis:/usr/local/iraf/irafbin# ls |
| | 124 | bin.linux noao.bin.linux |
| | 125 | root@metis:/usr/local/iraf/irafbin/bin.linux# cat /usr/local/iraf/hbin.lnux.x86.gz | zcat | tar -xpf - |
| | 126 | root@metis:/usr/local/iraf/irafbin/bin.linux# |
| | 127 | |
| | 128 | root@metis:/usr/local/iraf/irafbin# cd naoa.bin.linux |
| | 129 | bash: cd: naoa.bin.linux: No such file or directory |
| | 130 | root@metis:/usr/local/iraf/irafbin# cd noao.bin.linux |
| | 131 | root@metis:/usr/local/iraf/irafbin/noao.bin.linux# cat /usr/local/iraf/nb.lnux.x86.gz | zcat | tar -xpf - |
| | 132 | root@metis:/usr/local/iraf/irafbin/noao.bin.linux# |
| | 133 | |
| | 134 | root@metis:/usr/local/iraf# cd iraf |
| | 135 | root@metis:/usr/local/iraf/iraf# cat /usr/local/iraf/patch2a.tar.gz | zcat | tar -xpf - root@metis:/usr/local/iraf/iraf# |
| | 136 | |
| | 137 | |
| | 138 | |
| | 139 | |
| | 140 | |