LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   what to do with .bin file (https://www.linuxquestions.org/questions/linux-software-2/what-to-do-with-bin-file-76051/)

gexiaofei 07-26-2003 04:47 AM

what to do with .bin file
 
I have downloaded the dMSN, But the file is ended with .bin.

I dont know how to install .bin file. Could anyone tell me what shoul i go on.

Thanks in advanced.

Crashed_Again 07-26-2003 05:14 AM

chmod u+x file.bin
./file.bin

Thymox 07-26-2003 06:18 PM

To expand upon this:
In Windows, executable files end in .bat, .com, .exe, .pif. In Linux, and other Un*ces, they have to be set as an executable file - much like Windows can set files as hidden, system, etc, Linux has 'attributes' - one of which is executable. That is what the above chmod u+x file.bin command does - it sets the executable attribute for just the user (and so it is not executable by anyone else).

Now, under Windows, you can execute programs that are in your path by simply typing them. This is the same under Linux. However, under Windows, you can execute programs in the currecnt working directory by simple typing their name. Under Linux, if the program is not in your path, you need to tell it exactly where to find the program. For programs in the current working directory, you put a ./ (dot forwardslash) infront of the filename, so that's the second command ./file.bin

I hope this helps.

gexiaofei 07-26-2003 11:05 PM

Thank you very much. It really helps a lot.

gexiaofei 07-28-2003 05:52 PM

I met a problem here.

I want to install rp8_linux_sparc_cs1.bin

this is all I do:

[root@zhengfa2 d]# chmod u+x rp8_linux_sparc_cs1.bin
[root@zhengfa2 d]# ./rp8_linux_sparc_cs1.bin
bash: ./rp8_linux_sparc_cs1.bin: cannot execute binary file
[root@zhengfa2 d]#

what's wrong?


xiaofei

neo77777 07-28-2003 06:53 PM

Are you running linux on Sun's SPARC (or equivalent) machine? If it is plain intel architecture download i386 or ix86 file instead


All times are GMT -5. The time now is 06:04 PM.