LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-14-2005, 07:35 PM   #1
musichris777
LQ Newbie
 
Registered: Sep 2005
Location: I live on Earth
Distribution: Red Hat 9
Posts: 4

Rep: Reputation: 0
Opening a .bin file?


I need to open a .bin file that I downloaded from Java.com. Can someone give me step by step instructions on how to do this? I haven't used my Linux box in a while so I don't remember a lot going into the terminal.
 
Old 09-14-2005, 07:45 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
It's probably a shell script (extensions have no meaning in Unix). You can make it executable and execute it:
Code:
chmod +x whatever.bin
./whatever.bin
or run it with the shell
Code:
sh whatever.bin
Also, please don't post in more than one forum.
 
Old 09-14-2005, 07:46 PM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
The .bin files are typically self-installers. Simply make it executable:
Code:
chmod +x /path/to/file.bin
Then run it:
Code:
/path/to/file.bin
Edit: Apparently Spooon and I were typing at the same time
 
Old 09-15-2005, 12:29 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
The .bin extension can be used in strange ways by some software. For example, Novell Groupwise can save MS doc attachments with a .bin extension. OpenOffice seems to recognize that it's evil empire format.
 
Old 09-15-2005, 03:48 PM   #5
Mirag3
Member
 
Registered: Jun 2005
Location: Ellicott City, Maryland
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
I don't think this is what it is, but a .bin file can also refer to a cd image. To tell if it is a cd image, there should be a .cue file along with it, although sometimes there isn't. I don't remember if this is fully valid, but im pretty sure you can just add it to /etc/fstab and then
Code:
mount -t CDFS /home/foo.bin /mnt/Image
 
Old 09-15-2005, 08:32 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Actually, the 'file' cmd is usually pretty accurate at guessing what type a file actually is. Try
file <yourfilehere>
and see what response you get.
 
Old 09-15-2005, 09:15 PM   #7
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Thanks Chris. That is a useful and interesting command. Is there no end to the power hiding on the command line.
 
Old 09-19-2005, 12:36 AM   #8
watsoncj
LQ Newbie
 
Registered: Sep 2005
Location: Colorado
Distribution: Mandriva LE 2005
Posts: 12

Rep: Reputation: 0
Code:
# mount -t CDFS file.bin /mnt/file/
mount: fs type CDFS not supported by kernel
Do I really need to recompile the kernel to get support for the CDFS type?
 
Old 09-19-2005, 03:39 AM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Take a look here:
http://www.elis.rug.ac.be/~ronsse/cdfs/
Quote:
# Download, compile & install
The file system can be downloaded from here. See the INSTALL file for information on how to compile, install and use cdfs.
The link points here: http://www.elis.rug.ac.be/~ronsse/cdfs/download/
You shouldn't need to recompile the kernel, but you may need to simply modprobe or insmod a new module into it.
 
Old 06-21-2007, 09:01 PM   #10
Goodman84
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Unhappy Can You help me with Bin too?

I JUST GOT A LINUX! . Sadly I find it very hard to use I was trying to get (from steams website a company that is used as the engine for css) And Download there linux hldsupdatetool. well yea . bin So what do I do?!
 
Old 06-21-2007, 09:21 PM   #11
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
As a rule .bin packages are compiled binaries that can be executed directly. A Google search of "hldsupdatetool ubuntu" yielded some results that might be helpful to you. I've no direct experience with this package.
 
  


Reply



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
Opening NRG, BIN and ISO files herve2001 Slackware 5 12-03-2005 01:03 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
Opening a .bin file? musichris777 Red Hat 3 09-15-2005 01:10 PM
bad problem opening a bin file. dirky Linux - Newbie 1 09-25-2004 10:13 PM
opening a .bin file JRussell Linux - Newbie 7 05-10-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 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
Open Source Consulting | Domain Registration