Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installing IRAF to eee PC 701

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
cngeow



Joined: 11 Feb 2009
Posts: 2

PostPosted: Wed Feb 11, 2009 2:26 am    Post subject: Installing IRAF to eee PC 701 Reply with quote

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/.
Back to top
View user's profile Send private message
jturner
IRAF Guru


Joined: 29 Dec 2005
Posts: 162
Location: Chile

PostPosted: Wed Feb 11, 2009 3:47 pm    Post subject: Re: Installing IRAF to eee PC 701 Reply with quote

You haven't said what error you get that prevents you from running IRAF...
cngeow wrote:
./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.
Back to top
View user's profile Send private message
cngeow



Joined: 11 Feb 2009
Posts: 2

PostPosted: Wed Feb 11, 2009 7:09 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.23 seconds