0% found this document useful (0 votes)
55 views3 pages

Iraf Installation Ubndu 0

This document provides instructions for installing IRAF, an astronomical image analysis software, on Ubuntu 64-bit and 32-bit systems. It describes downloading the appropriate installation files, extracting and copying them to directories, and running commands to install IRAF and its X11 interface. Upon completion, the IRAF command line interface can be launched.

Uploaded by

manojmandal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views3 pages

Iraf Installation Ubndu 0

This document provides instructions for installing IRAF, an astronomical image analysis software, on Ubuntu 64-bit and 32-bit systems. It describes downloading the appropriate installation files, extracting and copying them to directories, and running commands to install IRAF and its X11 interface. Upon completion, the IRAF command line interface can be launched.

Uploaded by

manojmandal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

IRAF Tutorial

Installing on Ubuntu 64bit and 32bit :

IRAF (image reduction and analysis facility) is a collection of software written at the
National Optical Astronomy Observatory (NOAO) geared towards the reduction of
astronomical images in pixel array form. This is primarily data taken from imaging array
detectors such as CCDs. It is available for all major Operating System for mainframes
and desktop computers. Although written for Unix like operating system.

You need to be root to install ds9 . So execute the below command.

$ sudo -s ( specify your user password )

1. For checking the system archicture execute the below command.

uname -m ( if it is “X86_64” 64 bit , “i686” 32 bit )

2. Download the appropriate file extension and place it in your appropriate


directory. The following commands are for a 64 and 32 bit linux

# wget ftp://ftp.iiap.res.in/support/data/iraf/iraf.lnux.x86_64.tar.gz (for 64 bit operating system)

# wget ftp://ftp.iiap.res.in/support/data/iraf/iraf.lnux.x86.tar.gz (for 32 bit operating system )

# wget ftp://ftp.iiap.res.in/support/data/iraf/x11iraf-v2.0BET-bin.linux.tar.gz

# wget ftp://ftp.iiap.res.in/support/data/iraf/xgterm

X11IRAF
The most important element in this package is xgterm, it is the terminal emulator that
you will have to run IRAF in if you want to use its graphic or image cursor (to interact
with the images or generated graphs). So here are the steps you have to take to install it.
You just have to type the commands after the # sign in the Command Line.

# mkdir /iraf/iraf

# mkdir /iraf/x11iraf

# cd /root

# mv x11iraf-v2.0BETA-bin.linux.tar.gz /iraf/x11iraf

# mv iraf.linux.x86_64.tar.gz /iraf/iraf

# cd /iraf/iraf
# tar -xvf iraf.linux.x86_64.tar.gz
# cd /iraf/x11iraf

# tar -xvf x11iraf-v2.0BETA-bin.linux.tar.gz

# apt-get install tcsh

3. To install X11iraf execute the below commands

# cd /iraf/x11iraf/

# ./install ( installing x11iraf )

Binary installation
--------------------------------------
1 Local command directory ( ) : /usr/local/bin

*** some X11IRAF commands are already installed st a

**** diffrent location , e.g .

**** would you like to delete these first ( yes / no ) ? yes

Local man page directory ( /usr/share/man/man1 ) : press enter ( default )

System app-defaults directory ( /usr/lib/app-defaults ) : press enter ( defaults )

Would you like to install this library ? ( yes ) : press enter ( defaults )

Local lib directory ( /usr/local/lib ) : press enter ( defaults )

Installing CDL libraries in /usr/local/bin ........[ ok ]

Local include directory ( /usr/local/include ) : press enter ( defaults )

************* installation complete. **********

4. To install iraf execute the below commands

# cd /iraf/iraf/unix/hlib

# ./install

######################################################################
########### Query for system settings ##################################\

New iraf root directory ( /iraf/iraf ) : press enter ( defaults )

Default root image storage directory ( /iraf/imdirs ) : press enter ( defaults )


Default root cache directory ( /iraf/cache ) : press enter ( defaults )

Local unix command directory ( /usr/local/bin ) : press enter ( defaults )

Proceed with installation ? ( yes ) : press enter ( defaults )

Proceed to post installation configuration stage ? ( yes ) : press enter ( defaults )

Configure IRAF Networking on this mechine ( yes ) : no

Proceed with this entry ? ( yes ) : press enter ( defaults )


Would you like to return to network setup ? ( yes ) : no

Create default tapecap file ? ( yes ) : press enter ( defaults )

Do you wish to create a default devstapecap link ? ( yes ) : press enter ( defaults)

Do you wish to strip the system of sources ? ( no ) : press enter ( defaults )

################ Installation completed with no errors ###################

5. Open one more terminal using Ctrl+Shift+n

$ mkdir iraf

$ cd iraf

$ mkiraf

6. Creating a new uparm directory

Terminal types : xgterm , xterm ,gterm , vt640 , vt100 etc ..

Enter terminal type : xgterm

$ xgterm

Now you will get iraf prompt

7. To check iraf : -

$ cl

You might also like