wiki:IRAF

Version 8 (modified by cdelarcuz, 21 years ago) ( diff )

--

IRAF

IRAF is the image reduction and analysis facility. It has been ​ITP'ed for debian, but is apparently not in debian due to some licensing wrangling.

Some older debianized packages appear to be available from ​ftp://iraf.noao.edu/contrib/debian/

It also appears that the User commnunity at ​iraf.net is ​reporting success on ubuntu (however vaguely).

Here's some information Fernando got off the IRAF maintainers:

On Wed, 28 Dec 2005, Fernando Camilo wrote:


>> Could you please let me know whether there are any known issues for IRAF 
>> running under Linux Debian 3.1 (sarge)?  We are building a new Linux-based 
>> computing network here at the Columbia Astrophysics Lab and want to make 
>> sure that the key packages will work under our proposed operating system.


	There are no particular issues assuming you use the "linux" 
architecture and our distribution.  The various debian packages *do*
have known problems with compiling locally and/or running at all and
appear to have since been abandoned by the package maintainer.  64-bit
systems still aren't supported but other wise proceed with a normal
installation using the LNUX architecture and you should be fine.

Cheers,
Mike Fitzpatrick


--------------------------

NOTE:  As of Jan 1, 2006 NOAO  no longer operates a HelpDesk for
IRAF at iraf@noao.edu.   Support is being moved to a forum-based system
at http://iraf.net, please post future questions to that site.  Thanks.

IRAF INSTALLATION

Binaries/Packages for IRAF installation:

http://iraf.noao.edu/iraf/ftp/iraf/v212/PCIX/

  	as.pcix.gen.gz  All-Sources (main IRAF distribution)	        
	ib.lnux.x86.gz  Core system binaries for Linux (generic)  	
	nb.lnux.x86.gz  NOAO package binaries for Linux (generic)  	

	patch2a/        IRAF V2.12.2a patch release files

	pciraf.ps.gz    PC-IRAF Installation Guide (compressed)
	unixsmg.ps.gz   IRAF V2.12 Site Manager's Guide (compressed)
	guiapps.readme  GUIAPPS installation instructions		
	guiapps.tar.Z  GUI Applications package

Will test the following installation procedure are noted by the following email correspondance:

I don't expect that you're going to be able to convince your

observers/data analysts to use anything but iraf. So I suggest my 3-step Hacker's Installation Procedure for Iraf:

unfortunately

Download as.pcix.gen.gz, ib.lnux.x86.gz, nb.lnux.x86.gz, and extract them as follows:

Extract this To here ------------------------------- as.pcix.gen.gz ./iraf/ ib.lnux.x86.gz ./irafbin/bin.linux/ nb.lnux.x86.gz ./irafbin/noao.bin.linux/ ib.lnux.x86.gz ./irafbin/bin.linux/ nb.lnux.x86.gz ./irafbin/noao.bin.linux/

The root directory ("./") is arbitrary; for this type of installation, I suggest /opt/iraf/ or /usr/local/iraf/; /usr/iraf/ and /iraf/ are other possibilities (but don't fit into the standard hierarchy as nicely).

You must edit ./iraf/unix/hlib/libc/iraf.h with the chosen installation path and create a symlink:

/usr/include/iraf.h => ./iraf/unix/hlib/libc/iraf.h

That's enough to run ./irafbin/bin.linux/cl.e, and probably do most analysis but you should run the full install script to do other stuff too (edit other files, set up networking, make symlinks in /usr/bin/, etc.):

./iraf/unix/hlib/install

(This is the part that scares most people, but I save it for last, since it doesn't seem to be necessary for most things).

So this should be _the_ steps that has to be ascomplished on the deb wrapper ?

2.1  Special Note to LNUX Architecture Users
--------------------------------------------

	The V2.12.2 HSI binaries (mkpkg, xc, hardcopy translators, etc)
have a known problem affecting compilation of local tasks or external
packages and should be replaced.  This patch fixes the problem, however to
fix only the compilation issues a new set of HSI binaries are also being
made available the patch directory as

	ftp://iraf.noao.edu/iraf/v212/PCIX/patch2a/hbin.lnux.x86.gz

To use this file, simply download in binary mode and unpack in the
$iraf/unix/bin.linux directory.



root@metis:/usr/local/iraf# cd iraf
root@metis:/usr/local/iraf/iraf# cat /usr/local/iraf/as.pcix.gen.gz | zcat | tar -xpf -
root@metis:/usr/local/iraf/iraf#
root@metis:/usr/local/iraf# cd irafbin
root@metis:/usr/local/iraf/irafbin# ls
bin.linux  noao.bin.linux
root@metis:/usr/local/iraf/irafbin# cd bin.linux
root@metis:/usr/local/iraf/irafbin/bin.linux# ls
root@metis:/usr/local/iraf/irafbin/bin.linux# cat /usr/local/iraf/ib.lnux.x86.gz | zcat | tar -xpf -
root@metis:/usr/local/iraf/irafbin/bin.linux# cd ..
root@metis:/usr/local/iraf/irafbin# ls
bin.linux  noao.bin.linux
root@metis:/usr/local/iraf/irafbin/bin.linux# cat /usr/local/iraf/hbin.lnux.x86.gz | zcat | tar -xpf -
root@metis:/usr/local/iraf/irafbin/bin.linux#

root@metis:/usr/local/iraf/irafbin# cd naoa.bin.linux
bash: cd: naoa.bin.linux: No such file or directory
root@metis:/usr/local/iraf/irafbin# cd noao.bin.linux
root@metis:/usr/local/iraf/irafbin/noao.bin.linux# cat /usr/local/iraf/nb.lnux.x86.gz | zcat | tar -xpf -
root@metis:/usr/local/iraf/irafbin/noao.bin.linux#

root@metis:/usr/local/iraf# cd iraf
root@metis:/usr/local/iraf/iraf# cat /usr/local/iraf/patch2a.tar.gz | zcat | tar -xpf - root@metis:/usr/local/iraf/iraf#

Edited /usr/local/iraf//iraf/unix/hlib/libc/iraf.h with the chosen
 installation path:

#define HOST            "/user/local/iraf/iraf/unix/"
#define IRAF            "/user/local/iraf/iraf/"
#define TMP             "/user/local/tmp/"


 and create a symlink:


        /usr/include/iraf.h => ./iraf/unix/hlib/libc/iraf.h


root@metis:/usr/local/iraf# ln -s /usr/local/iraf/iraf/unix/hlib/libc/iraf.h /usr/include/iraf.h
root@metis:/usr/local/iraf#

Attachments (5)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.