how to open a file with extension .bin?

Asked by Mohamed

i don't know how to open a file for installing real player with .bin extension. i already have an application called archive manger for such supporting installed files. but i tried it and wouldn't work. actually i have a video with extension rm. i tried many times to run it .but it didn't run. so i installed real player for that purpose. and l discovered that i couldn't run the installed file of real player. which will activate real player in my computer...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nikolas Poniros (nponiros) said :
#1

if i remember correctly u can run a .bin file in a terminal using the sh command ie "sh /path/to/file.bin" without the quotes

Revision history for this message
Mohamed (muhhamad64) said :
#2

Thnx...... i tried also this way.....not working...... i typed the command with the path and file name..... it gave that no file directory or such file.....

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#3

@Nikolas
Why sh?

Mohammed,
Here is the graphical method:
First Right click on that File and select Properties, click on Permissions tab and check "Allow Executing File as Program". This makes the file executable. Then you can double click and run the installer.

The command-line method:
sudo chmod +x /path/to/file.bin
AND then
./path/to/file.bin

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#4

Sorry, I made a small mistake in the above post,
it should not be
./path/to/file.bin
but
/path/to/file.bin

That preceding . should not be present

Revision history for this message
Mohamed (muhhamad64) said :
#5

Thnx alot Manish............... but still the problem is there............. see what i got message:
Could not display "/home/mohamed/Desktop/RealPlayer11GOLD.bin".
There is no application installed for this file type.

this after i done in check box in the permissions tab...

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#6

Yeah! That's the problem encountered sometimes when you try to execute it by double-clicking.

You wont face any problems if you do it via command-line way. Try the command-line way.
Remember, command-line way is never bad, instead it shows an exhaustive error message list in case of failures, which can be helpful in debugging.

Revision history for this message
Mohamed (muhhamad64) said :
#7

Thnx.... for care....... actually i tried also this way.... no reaction.........
i got the same message no such file or directory..........

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#8

I can just guess what is happening.
Can you post the output of

ls -l /path/to/file.bin
AND
file /path/to/file.bin

No such file or directory? Looks like you giving the wrong file name. Remember that Linux is case sensitive.

Revision history for this message
Mohamed (muhhamad64) said :
#9

Seriously i stuck....... this the message what i got :
mohamed@mohamed-laptop:~$
ls: cannot access /path/to/Realplayer11GOLD.bin: No such file or directory
mohamed@mohamed-laptop:~$ Realplayer/path/to/Realplayer11GOLD.bin
bash: Realplayer/path/to/Realplayer11GOLD.bin: No such file or directory

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#10

Oh! Got the problem.

Mohamed,
You need to substitute /path/to/file.bin with the path where your RealPlayer11GOLD.bin is located.

e.g. I did download this file on the Desktop, so i would access it as

ls - l /home/manish/Desktop/RealPlayer11GOLD.bin

Make it executable with command
sudo chmod +x /home/manish/Desktop/RealPlayer11GOLD.bin

And then execute it as
/home/manish/Desktop/RealPlayer11GOLD.bin

/path/to/file.bin was just a placeholder which you had to substitute with the path where you did put the file

Hope you understood what am saying

Revision history for this message
Nikolas Poniros (nponiros) said :
#11

@Manish Sinha: because i seem to remember doing something like that for a bin file once but as i said before i dont remember..

in any case i tried now making it an executable as Manish Sinha suggested and run it in a terminal and it works just fine

@Mohamed
y dont u download the .deb package of realplayer?

Revision history for this message
Mohamed (muhhamad64) said :
#12

Actually from the beginning i was downloaded that package of real player and tried many times to open the installer but failed.................. thnx to all of u guys............

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#13

Mohamed,

you problem can be simply answered by one query.
Please specify the full path where you have downloaded th RealPlayer bin file.

We would do the rest

Revision history for this message
Mohamed (muhhamad64) said :
#14

Really guys thank u so much for help and patience.......
the path is : /home/mohamed/Desktop/RealPlayer11GOLD.bin
Rgds......

Revision history for this message
Nikolas Poniros (nponiros) said :
#15

first u have to make sure that the file is an executable. for that give the following command in the terminal

chmod o+x /home/mohamed/Desktop/RealPlayer11GOLD.bin

and then in a terminal write

/home/mohamed/Desktop/RealPlayer11GOLD.bin

Still i would recommend u download the .deb package and install with dpkg

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#16

Mohamed,
The way told by NIkolas is the exact way I wanted you to do.

@Nicolas
Looks like he facing some problems with .deb file installation.

Revision history for this message
Nikolas Poniros (nponiros) said :
#17

@Manish Sinha

ur probably right bout the .deb file. in any case the .bin should work now :)

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#18

@Nikolas
Yeah! I too have Real Player installed on my computer, as usual its installed via bin file

Revision history for this message
Nikolas Poniros (nponiros) said :
#19

oops just noticed that i gave a "wrong" command

it should have been

chmod u+x /home/mohamed/Desktop/RealPlayer11GOLD.bin

and not

chmod o+x /home/mohamed/Desktop/RealPlayer11GOLD.bin (this gives execution previllages to others and not the user)

Revision history for this message
Mohamed (muhhamad64) said :
#20

I installed b4 get ur last post........ i can see it on the menu but when im trying to run it with audio or video file, no response at all as i dont do any thing............. so now what should be done.... try to delete the installed one but how to delete it.... and install it again..... excuse me im so new to linux...... its my first time....... but really its unique................... thnx again Nikolas and Manish..........

Revision history for this message
Mohamed (muhhamad64) said :
#21

at least i ran the real player but from inside after i got dialogue said on it do u wanna run it from terminal or jus run or display then i chose from terminal and after that it worked only by this way... each time i have to do it to run it, i mean from the location of installed file..... when i tried to run it normally from the menu i got this message:
Could not launch menu item
Failed to execute child process "realplay" (No such file or directory)

also when i tried to run it from the audio or video file, no response at all.......

thnx.........

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) said :
#22

I understand that you are using it for the first time. We have already dealt with n00bs earlier. We never expect them to be geeks. We are not ourselves.

What happens when you start it from the Menu? Can you give us a snapshot of what happens? It can be too helpful.

To take snapshot, you can use the SnapShot tool from Applications>Accessories>Take Snapshot.
You can host the snapshot at imageshack.us or photobucket.com

I hope this snapshot can clear a lot of doubts which we too have.

Can you help with this problem?

Provide an answer of your own, or ask Mohamed for more information if necessary.

To post a message you must log in.