LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Opening a .bin file? (https://www.linuxquestions.org/questions/linux-newbie-8/opening-a-bin-file-363453/)

musichris777 09-14-2005 07:35 PM

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.

spooon 09-14-2005 07:45 PM

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.

scuzzman 09-14-2005 07:46 PM

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 :D

fragos 09-15-2005 12:29 PM

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.

Mirag3 09-15-2005 03:48 PM

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

chrism01 09-15-2005 08:32 PM

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.

fragos 09-15-2005 09:15 PM

Thanks Chris. That is a useful and interesting command. Is there no end to the power hiding on the command line.

watsoncj 09-19-2005 12:36 AM

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?

scuzzman 09-19-2005 03:39 AM

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.

Goodman84 06-21-2007 09:01 PM

Can You help me with Bin too?
 
I JUST GOT A LINUX! :D . 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?! :cry:

fragos 06-21-2007 09:21 PM

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.


All times are GMT -5. The time now is 11:23 AM.