LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-12-2002, 07:38 PM   #1
jiggaracci
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Rep: Reputation: 0
Post executing files


can someone tell me why I cannot execute bin or exe files. I have changed the permissions. I get a message stating
"cannot execute binary file"

Anyone?
 
Old 10-12-2002, 08:11 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Is it a Linux binary that you are attempting to run?
 
Old 10-12-2002, 09:35 PM   #3
jiggaracci
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
yes sir

yep it is a binary, actually it's real player ! But I get the same response when executing any bin or exe!
 
Old 10-12-2002, 10:35 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well the question is asked again, but note this part 'linux binary'

Is it a LINUX BINARY? Most linux binaries I've dealt with don't end with exe

If you have the linux realplayer, this should work:
chmod +x filename.bin
./filename.bin

Cool
 
Old 10-13-2002, 09:42 AM   #5
jiggaracci
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
it don't

the file I downloaded is "rp8.bin". When I try to execute it ,
"./rp8.bin" I get the following message

bash: ./rp8.bin: cannot execute binary file.

and like I said any bin or exe file says the same

I changed the permissions
I am logged in as root
I am clueless!
 
Old 10-13-2002, 10:04 AM   #6
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
Its obvious that either
1.you are downloading a windows binary instead of linux binary
OR
2.your file is corrupted
 
Old 10-13-2002, 10:58 AM   #7
jiggaracci
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
attn everyone

I'm a newbie, but I do know how to follow directions. I went to real player, and I specifically downloaded the rp8.bin linux version. When I first got tha file and tried to execute it I was given 2 messages. One was I didn't have the permissions to execute this file, and the other was that message I keep getting now, "cannot execute binary file". I am a newbie to linux, so this is just something minor I know.
 
Old 10-13-2002, 11:55 AM   #8
jiggaracci
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, I went to real.com and downloaded the rp8.rpm. This will solve any problems. Thanks to everyone who replied.
 
Old 10-13-2002, 01:38 PM   #9
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sorry the other didn't work out for you, I am still unsure as to why you couldn't execute it if it was truly a Linux bin file.

But I am happy you found an alternative, have fun linuxing!

Cool
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing files in a terminal by default Vnet1 Linux - Newbie 2 03-24-2004 12:54 PM
Running/Executing .run files BigEast55 Linux - Newbie 1 01-08-2004 05:01 PM
Executing bin files Squiddy Slackware 2 11-07-2003 02:11 AM
help executing files safil Linux - Newbie 7 09-03-2003 01:51 AM
Executing .bin files klmn1 Linux - Software 2 06-06-2003 02:04 AM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration