Welcome to iraf.net Thursday, March 28 2024 @ 05:49 PM GMT
Medinaja2 |
11/16/2015 07:47PM (Read 2940 times)
|
|
|
Status: offline
Registered: 11/16/2015
Posts: 1
|
Hello everyone. I am trying to install ds9 on IRAF. I have a pc, OS Windows 10, but I am running IRAF in Fedora on a virtual computer on my laptop. I believe it's called virtual box. But anyway, in fedora I use Mozilla to go to the ds9 website and download the Linux version of ds9. After downloading I extract the ds9 file into a ds9 directory I have created. In the terminal I try running ds9 but I doesn't seem to work. I says "cannot execute binary file". Maybe am not using the right command to run the program. I've tried just typing "ds9", to which it says "command not found", and I have tried "sh ds9", to which it says "binary file cannot be executed" or something like that. If I go to the ds9 folder with the graphical interface, and right click ds9, and click run, nothing happens at all. I don't know why ds9 isn't working on my virtual computer. I have tried downloading the linux, and linux64 version. Neither work. But I did very easily get ds9 working on regular Windows 10. It just worked. But transferring 2GB .fits files from fedora to windows is proving very difficult. Does anyone have an idea to what is going on?
|
|
|
|
fitz |
11/16/2015 08:04PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Assuming you're running a 64-bit Fedora in your virtual machine, the file you retrieved from ds9.si.edu is probably something like 'ds9.linux64.7.3.2.tar.gz'. You would unpack this with the command:
% tar zxf //ds9.linux64.7.3.2.tar.gz
This will unpack the 'ds9' file in the current directory. You would then execute it as simply "./ds9" or else put "." in your $PATH so files in the current directory are automatically searched for execution.
Now, this also assumes you have X11 and any other dependencies already installed in the VM. If you can run 'xterm' as a terminal then most of X11 is probably already installed, but run "ldd ./ds9" to print a list of the shared libraries required by the binary to ensure they are all found. If you installed the 32-bit DS9 on a 64-bit system there may be additional compatibility libs to install so getting the 64-bit version may just be easier. OTOH, if you have a 32-bit Fedora then having a 64-bit DS9 binary would explain the 'cannot execute binary file" message as well.
|
|
|
|
| |
|
Content generated in: 0.10 seconds |
|