LinuxQuestions.org
Review your favorite Linux distribution.
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 06-06-2001, 01:07 PM   #1
Terri
Member
 
Registered: Jun 2001
Location: NY
Distribution: RedHat 7.2
Posts: 46

Rep: Reputation: 15

what is a .bin file?
what would it translate to in the MS world?
is there a way to extract -or whatever it would be called- it inside the GUI?
 
Old 06-06-2001, 01:09 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I think of it as a .exe file. You can usually run it from the command prompt.
And I assume it stands for Binary.
 
Old 06-06-2001, 01:31 PM   #3
Terri
Member
 
Registered: Jun 2001
Location: NY
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
so if its like an .exe, then y cant i just double click to run it?
 
Old 06-06-2001, 02:08 PM   #4
abyss
Member
 
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113

Rep: Reputation: 16
Terri,

Where are you trying to double click it from? In KDE's file manager/browser called "Konqueror" you can click on binaries to run them if you have permission. Several things may go wrong. You might try to run a binary that's only executable by the root user while logged in as a regular user and it will fail (instead of asking for a root password). Also, depending on what the binary is, it may have acutally run, but it needed to be run from the command line, so you don't see what it did. For example, you can run a shell script (file with a .sh extension) by clicking on it in Konqueror, but you won't see what it does, so if it went wrong, you don't see what happened.

To run .bin files from the command line, use:

./filename
 
Old 06-06-2001, 02:57 PM   #5
Terri
Member
 
Registered: Jun 2001
Location: NY
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
im running gnome. and nothing happens weather i have ownership or not.
ive tried from command prompt too and it doesnt work either. when i use the ./filename i get "cannot execute binary file"
i found something on the web suggesting that i need to install binutils but when i follow the directions to do so, i get "no such file or directory" on the configure. have u ever used binutils?
how does it install?
im logged in as root and in the root directory.
 
Old 06-07-2001, 08:39 AM   #6
abyss
Member
 
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113

Rep: Reputation: 16
That's bizzare. I've never seen anything like that. Sorry I can't be more helpful. What distro are you using? I might be able to ask a co-worker.
 
Old 06-07-2001, 11:35 AM   #7
Terri
Member
 
Registered: Jun 2001
Location: NY
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
distro?
 
Old 06-07-2001, 11:51 AM   #8
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
distribution (redhat,mandrake,suse, etc)
 
Old 06-07-2001, 11:52 AM   #9
notlinus
Member
 
Registered: May 2001
Location: Kingsport, TN
Distribution: RedHat 6.1
Posts: 61

Rep: Reputation: 15
distro is slang for Distribution. In other words, are you running Debian/GNU Linux, Red Hat, Slackware, and what version? (ie, I run the Red Hat 6.2 distribution).

Reason this is important is that although the engine underneath Linux will be fairly consistent, there are differences in the "front end". Kind of like how a Chrysler Town and Country is the same as a Dodge Caravan or Plymouth Voyager deep inside, but there are cosmetic differences.

Cannot execute binary file means that you are making progress - it recognizes that you are trying to run the file, that it is a binary, but for some reason it won't let you.

In case this is something we've dealt with before, what is the .bin file? Also, if you right click the file in Gnome file manager, and click (from memory - I'm at work at not on Linux) Properties, or Permissions, or Open, what information do you get?
 
Old 06-07-2001, 10:12 PM   #10
Trekker
LQ Newbie
 
Registered: Jun 2001
Posts: 19

Rep: Reputation: 0
notlinus is spot on!

Right-click on the file, select the Permissions Tab and check the "Execute" box. Else you can do this in CL with "chmod a+x <filename>"

You can now execute the binary with "./filename"

Hope this helps

[Edited by Trekker on 06-07-2001 at 11:15 PM]
 
  


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
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 10:42 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM
Newbie needs help Installing j2sdk-1_4_2-nb_3_5_1-bin-linux.bin bendoku Linux - Newbie 5 10-11-2003 09:27 AM

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

All times are GMT -5. The time now is 03:48 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