LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2004, 02:37 AM   #1
julienroger
LQ Newbie
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 3
Posts: 12

Rep: Reputation: 0
Question 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

Last edited by julienroger; 08-04-2004 at 05:27 AM.
 
Old 08-04-2004, 02:55 AM   #2
dawood
LQ Newbie
 
Registered: Dec 2002
Location: Pune
Posts: 21

Rep: Reputation: 15
hi,
Just type this command, it may work
./ur-bin-file-name.
It should be dot(.)and slash (/) before ur bin file name
 
Old 08-04-2004, 03:04 AM   #3
julienroger
LQ Newbie
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 3
Posts: 12

Original Poster
Rep: Reputation: 0
When I do, it gives me:
Code:
bash: ./j2re-1_4_2_05-linux-i586.bin: /bin/sh: bad interpreter: Permission denied

Last edited by julienroger; 08-04-2004 at 06:18 AM.
 
Old 08-04-2004, 07:25 AM   #4
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
try doing:

chmod 777 filename

and then try to run it
 
Old 08-04-2004, 08:44 AM   #5
a real ninja
LQ Newbie
 
Registered: Aug 2004
Location: Kentucky
Distribution: Slackware, SuSE
Posts: 1

Rep: Reputation: 0
Lightbulb 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
 
Old 08-04-2004, 09:19 PM   #6
julienroger
LQ Newbie
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 3
Posts: 12

Original Poster
Rep: Reputation: 0
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'.
 
Old 08-04-2004, 10:00 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 08-05-2004, 01:09 AM   #8
julienroger
LQ Newbie
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 3
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks Tinkster. I got it working perfectly. Thanks to everyone.
-Julien
 
Old 09-05-2004, 09:42 AM   #9
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Rep: Reputation: 30
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
 
Old 09-05-2004, 10:00 AM   #10
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
*.tar.gz: tar -xzvf FILENAME
*.tgz: tar -xzvf FILENAME
*.tar.bz2: tar - xjvf FILENAME
*.bin: chmod 777 FILENAME; ./FILENAME
*.rpm: rpm -i FILENAME
 
Old 09-06-2004, 01:53 AM   #11
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Rep: Reputation: 30
I believe FILENAME stands for source filename.
Where can we install to ? - Destination folder ?
 
Old 09-06-2004, 06:23 AM   #12
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
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.
 
Old 09-08-2004, 01:19 PM   #13
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Rep: Reputation: 30
sh

I got a sh file for downloading.
Is it a compressed file ?
If so how do I extract it ?
 
Old 09-08-2004, 02:28 PM   #14
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
see this
 
Old 09-12-2004, 09:45 PM   #15
Superganja23
Member
 
Registered: Sep 2004
Distribution: Mandriva 2007
Posts: 52

Rep: Reputation: 15
Question

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?
Superganja23
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting Bin and Que files. zozoman Linux - General 2 11-26-2005 11:49 AM
Self extracting .bin files manticor Linux - Software 8 01-17-2005 12:12 PM
extracting bin files shyam_d_sundar Linux - Software 3 07-12-2004 12:01 PM
Extracting files from a .bin LinuxBAH Linux - Software 1 06-25-2003 07:43 PM
Extracting .sh.bin files SS_King Linux - Newbie 3 06-11-2003 11:17 AM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration