Welcome to iraf.net Monday, May 20 2024 @ 05:17 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Installing IRAF to eee PC 701
   
cngeow
 02/11/2009 02:26AM (Read 3306 times)  
+----
Newbie

Status: offline


Registered: 02/10/2009
Posts: 6
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 irafchange the last line in /etc/passwd (using kwrite) from
irafAngry:103:65534::/iraf:/bin/false
to
irafAngry:103:65534::/iraf/iraf/local:/bin/cshcd ../../
( 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/.

 
Profile Email
 Quote
jturner
 02/11/2009 02:26AM  
+++++
Active Member

Status: offline


Registered: 12/29/2005
Posts: 165
You haven't said what error you get that prevents you from running IRAF...
[quote:440ee5a34e="cngeow"]./install -n(When setting the location bin, set to /home/user/bin)sudo ./install
sudo mv /home/user/bin/* /usr/local/bin/.[/quote:440ee5a34e]
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.

 
Profile Email
 Quote
cngeow
 02/11/2009 02:26AM  
+----
Newbie

Status: offline


Registered: 02/10/2009
Posts: 6
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.

 
Profile Email
 Quote
   
Content generated in: 0.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login