Extracting bin files
Hello all.
I've been using Linux for about 2 hours, and I have a question. (Please excuse me if it sounds like a stupid question.) I have downloaded the Java2TM Runtime Environment, v 1.3.1, and in came in bin format. I have no idea how to extract theses fines on linux. I tried a lot of the software that came with RedHat 7.3, but with no success. I have read some files and other forums, but they haven't helped. Any suggestions would be welcome. Thanks. Julien |
hi,
Just type this command, it may work ./ur-bin-file-name. It should be dot(.)and slash (/) before ur bin file name |
When I do, it gives me:
Code:
bash: ./j2re-1_4_2_05-linux-i586.bin: /bin/sh: bad interpreter: Permission denied |
try doing:
chmod 777 filename and then try to run it |
Extracting bin files
Open up a terminal, then type chmod a+x j2re-1_3_1-linux-i386-rpm.bin; ./j2re-1_3_1-linux-i386-rpm.bin note please use the name of your bin file if different from this one
Next go superuser like su -, then your superuser password, Next type -c "rpm -Uvh jre-1.3.1.i386.rpm. Of course this only works if you are using a distro with needs for rpms good luck ;) |
Ok, great thanks a real ninja, and everyone else who helped, I got it extracted. But I'm not sure if I did it right. I still can't use 'Java' as a command. A programme I am trying to install (Limewire) requires that I type the command 'java -jar LimeWire.jar'.
|
There's quite a few posts about java and PATH around.
Have a search. Basically it comes down to the fact that the install doesn't create any settings. Cheers, Tink |
Thanks Tinkster. I got it working perfectly. Thanks to everyone.
-Julien |
Hi
Extremely new to Linux. Where can I find basic info on extraction (exp bin files) - like commands etc. Guess this is no where like Winzip so I goto find commands for all these. Thanks |
*.tar.gz: tar -xzvf FILENAME
*.tgz: tar -xzvf FILENAME *.tar.bz2: tar - xjvf FILENAME *.bin: chmod 777 FILENAME; ./FILENAME *.rpm: rpm -i FILENAME |
I believe FILENAME stands for source filename.
Where can we install to ? - Destination folder ? |
With the exception on *.bin and *.rpm, the rest of these are compiled from source code. see this article in our LinuxAnswers section.
As for *.bin, well, you've got that. Look up there ^. As for *.rpm, it's a binary, and as long as you get the right file for your distro, it'll just go to the right place. |
sh
I got a sh file for downloading.
Is it a compressed file ? If so how do I extract it ? |
see this
|
Hi;
I've tried to do chmod 777 filename.bin; ./filename.bin but I get an error saying: chmod: failed to get attributes of 'aman.bin': no such file or directory bash: ./aman.bin: no such file or directory What is the matter? I am using Mandrake 9.1 and the 'aman.bin file is on the desktop. What is wrong?:scratch: Superganja23 |
All times are GMT -5. The time now is 03:37 PM. |