Posted: Sun Mar 28, 2010 10:30 pm Post subject: Installing IRAF - A solution for newbies
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 Users
The script is written by an astronomer, Fernando Andrés Ávila Castro. To install do the following:
That's great !
I tried to install IRAF on my laptop following this procedure, but still I have an issue, it says :
Quote:
sudo: unable to execute /iraf/iraf/unix/hlib/install: Aucun fichier ou dossier de ce type
(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
Julien
PS : 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...)
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 :
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
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.
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:
sudo: unable to execute ./install: Aucun fichier ou dossier de ce type
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...
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...
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