Welcome to iraf.net Saturday, April 20 2024 @ 03:53 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Installing IRAF - A solution for newbies
   
rohit
 03/28/2010 10:30PM (Read 11143 times)  
++++-
Regular Member

Status: offline


Registered: 06/01/2006
Posts: 86
Every student has difficulty installing IRAF for the first time, especially if they are new to Linux. I found a link to a self-contained IRAF script that installs IRAF in less than 10 min. There are very few commands one needs. Note this is for Ubuntu UsersThe script is written by an astronomer, Fernando Andrés Ávila Castro. To install do the following: (1) Download the ISO file from his website:
http://www.astro.uson.mx/%7Efavilac/downloads/ubuntu-iraf/iso/IRAF_Ubuntu.iso(2) To mount the ISO file do the following in the terminal:

sudo mkdir /media/iso sudo mount filename.iso /media/iso -t iso9660 -o loop(3) cd /media/isoOnce you are inside. execute the command: sh install-ubuntu.shThat's all. Wait until it runs. The script installs the following programs and versions: IRAF 2.14.1
STSDAS 3.11
TABLES 3.11
PyRAF 1.7
PyWCS 1.4
DS9 6.0
X11IRAF 2.0BETA
WCSTOOLS 3.7.0
TELARCHIVE 1.4
PHIST 2.0
STECF 1.5
FV 5.2.1
XVISTA 7.08Thanks Fernando Andrés Ávila Castro for this time-saving script and not me! :-) Hope you enjoy working with IRAF, it is amazing! :-)

 
Profile Email
 Quote
JulienM
 03/28/2010 10:30PM  
+----
Newbie

Status: offline


Registered: 03/10/2010
Posts: 6
That's great !
I tried to install IRAF on my laptop following this procedure, but still I have an issue, it says :
[quote:7d1fce89ed]sudo: unable to execute /iraf/iraf/unix/hlib/install: Aucun fichier ou dossier de ce type[/quote:7d1fce89ed](last sentence means "no file or directory of this kind")I checked in the path iraf/iraf/hlib and the install file is here so I don't understand why it says there is no such file in this directory, and why it is not able to find it and execute it.Any help would be great !
thanks in advance :wink: JulienPS : my system is Ubuntu 9.10, I have both tcsh and sh interpreters in the /bin directory (I did a quick search and found that errors like this may be due to bad interpreters or wrong paths for these interpreters, but mine seems fine, although I'm not sure...)

 
Profile Email
 Quote
favilac
 03/28/2010 10:30PM  
+----
Newbie

Status: offline


Registered: 12/16/2005
Posts: 10
Hi, I'm the author of the script.
Usually this kind of errors came from a corrupted download. Try downloading it again from here:http://www.astro.uson.mx/~favilac/downloads/ubuntu-iraf/files/iraf.tar.gz
In the next version I will include a md5sum of this file, as it has happened a couple of times now.

 
Profile Email Website
 Quote
JulienM
 03/28/2010 10:30PM  
+----
Newbie

Status: offline


Registered: 03/10/2010
Posts: 6
Thank you,I downloaded the file, but as it's not an iso, what should I do ? should I just extract it and replace older files ? then how should I install ?I found a few weeks ago a link on this forum to a site which describes step-by-step installation of IRAF under Ubuntu by hand, but I encountered the same problem when it came to the instruction :
"sudo ./install"the instructions were kind of weird because they stated :
[quote:845a607ef8]
...
rm ib.rhux.x86.gzcd /iraf/irafbin/noao.bin.linuxwget https://iraf.net/ftp/iraf/v214/PCIX/nb.rhux.x86.gztar -zxpf nb.rhux.x86.gzrm nb.rhux.x86.gzsetenv iraf /iraf/iraf/cd $iraf/unix/hlibsource irafuser.csh
etc ...
[/quote:845a607ef8] they use redhat files but it's supposed to be ubuntu, I was kind of confused, but I tried to replace rh by ln as I noticed I had ln files which are recommended on this site for other linux distributions.
But still I had the same problem, the "install" file was not recognized.So now from this new tar.gz I don't know what to do, extract it then install files by hand ?thanks in advance for advices and help because I'm kind of new to linux and IRAF, so I feel a bit lost Oops! Julien

 
Profile Email
 Quote
rohit
 03/28/2010 10:30PM  
++++-
Regular Member

Status: offline


Registered: 06/01/2006
Posts: 86
Julien,The whole installation may seem daunting but it is not. I am not sure why the install did not work. It is likely the download was corrupted. I would try downloading it again with the link I provided and seeing if it works. If it does not, you will need to do through a manual install. I am giving you a link to work it out. However, I would suggest you read the whole page, including the comments people have left before you give it a try. http://ubuntuforums.org/archive/index.php/t-912583.htmlGood luck! Rohit

 
Profile Email
 Quote
JulienM
 03/28/2010 10:30PM  
+----
Newbie

Status: offline


Registered: 03/10/2010
Posts: 6
Hi !first of all sorry for the late reply I've been busy for the past few days...
Then thank you for the link, I read the whole thread then I followed the instructions step by step but I still encountered the same problem, when it says to test the install typing "sudo ./install -n" I get the same error : [quote:00927989f9]sudo: unable to execute ./install: Aucun fichier ou dossier de ce type[/quote:00927989f9]I really don't understand why. I checked again if the install file was here and it was, so I don't know why I still have the problem.IRAF seems to me like Tantalus's punishment, every time I seem to get closer to install it with a new method it goes away... Frown

 
Profile Email
 Quote
JulienM
 03/28/2010 10:30PM  
+----
Newbie

Status: offline


Registered: 03/10/2010
Posts: 6
OK I finally found what was wrong ! I noticed that there were no csh shell installed on my ubuntu system, only tcsh (although I read somewhere that tcsh was more developped so it kind of included csh).
I installed csh shell and now it works !
I feel ashamed for such a stupid thing... Oops! anyway thanks a lot for your help ! :wink: Julien

 
Profile Email
 Quote
   
Content generated in: 0.16 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