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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-14-2005, 07:35 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Location: I live on Earth
Distribution: Red Hat 9
Posts: 4
Rep:
|
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.
|
|
|
09-14-2005, 07:45 PM
|
#2
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
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
Also, please don't post in more than one forum.
|
|
|
09-14-2005, 07:46 PM
|
#3
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
The .bin files are typically self-installers. Simply make it executable:
Code:
chmod +x /path/to/file.bin
Then run it:
Edit: Apparently Spooon and I were typing at the same time 
|
|
|
09-15-2005, 12:29 PM
|
#4
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
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.
|
|
|
09-15-2005, 03:48 PM
|
#5
|
Member
Registered: Jun 2005
Location: Ellicott City, Maryland
Distribution: Gentoo
Posts: 36
Rep:
|
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
|
|
|
09-15-2005, 08:32 PM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,429
|
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.
|
|
|
09-15-2005, 09:15 PM
|
#7
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
Thanks Chris. That is a useful and interesting command. Is there no end to the power hiding on the command line.
|
|
|
09-19-2005, 12:36 AM
|
#8
|
LQ Newbie
Registered: Sep 2005
Location: Colorado
Distribution: Mandriva LE 2005
Posts: 12
Rep:
|
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?
|
|
|
09-19-2005, 03:39 AM
|
#9
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
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.
|
|
|
06-21-2007, 09:01 PM
|
#10
|
LQ Newbie
Registered: Jun 2007
Posts: 1
Rep:
|
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?! 
|
|
|
06-21-2007, 09:21 PM
|
#11
|
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466
Rep:
|
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 02:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|