View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Installing IRAF to eee PC 701

cngeow wrote on Feb 11, 2009

I've tried to install IRAF to eee PC 701 (Linux version). Here are the steps:

mkdir bin
sudo apt-get install tcsh
wget http://geco.phys.columbia.edu/~rubab/iraf/ldso_1.9.11-15_i386.deb
sudo dpkg -i ldso_1.9.11-15_i386.deb
wget http://geco.phys.columbia.edu/~rubab/iraf/libc5_5.4.46-15_i386.deb
sudo dpkg -i libc5_5.4.46-15_i386.deb
wget http://geco.phys.columbia.edu/~rubab/iraf/termcap-compat_1.2.3_i386.deb
sudo dpkg -i termcap-compat_1.2.3_i386.deb
sudo adduser --system --home /iraf iraf
sudo adduser --group iraf

change the last line in /etc/passwd (using kwrite) from
iraf:x:103:65534::/iraf:/bin/false
to
iraf:x:103:65534::/iraf/iraf/local:/bin/csh

cd ../../
( make sure is in the / directory using: pwd
/>pwd
/
)

sudo chown -R iraf:iraf /iraf
sudo chmod -R 777 iraf
sudo mkdir /iraf/iraf
sudo mkdir /iraf/iraf/local
sudo mkdir /iraf/irafbin
sudo mkdir /iraf/irafbin/bin.linux
sudo mkdir /iraf/irafbin/noao.bin.linux
sudo mkdir /iraf/x11iraf
sudo mkdir /iraf/extern
cd /iraf/iraf

[download as.pcix.gen.gz from IRAF homepage]

sudo tar -zxf as.pcix.gen.gz
cd /iraf/iraf/unix/bin.redhat/
sudo mv * ../bin.linux/
cd /iraf/irafbin/bin.linux

[download ib.lnux.x86.gz from IRAF homepage]

sudo tar -zxpf ib.lnux.x86.gz
cd /iraf/irafbin/noao.bin.linux

[download nb.lnux.x86.gz from IRAF homepage]

sudo tar -zxpf nb.lnux.x86.gz
csh
setenv iraf /iraf/iraf/
cd $iraf/unix/hlib
source irafuser.csh
./install -n

(When setting the location bin, set to /home/user/bin)

sudo ./install
sudo mv /home/user/bin/* /usr/local/bin/.

James Turner wrote on Feb 11, 2009

You haven't said what error you get that prevents you from running IRAF...
cngeow

./install -n

(When setting the location bin, set to /home/user/bin)

sudo ./install
sudo mv /home/user/bin/* /usr/local/bin/.

Why not just specify /usr/local/bin/ to the install script in the first place? I'm not sure whether that might help but it's worth a try.

Cheers,

James.

cngeow wrote on Feb 11, 2009

Ohh... no problem found and I can run IRAF with eee PC without any problem.

Since I cannot "su iraf" in eee PC, and it need to be root for writing files to /usr/local/bin, I just temporary output the bins to my home directory. I didn't try to set the binpath as /usr/local/bin when running the IRAF install script.

Last post on Feb 11, 2009