LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2003, 04:47 AM   #1
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Rep: Reputation: 15
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.
 
Old 07-26-2003, 05:14 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
chmod u+x file.bin
./file.bin
 
Old 07-26-2003, 06:18 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 07-26-2003, 11:05 PM   #4
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Original Poster
Rep: Reputation: 15
Thank you very much. It really helps a lot.
 
Old 07-28-2003, 05:52 PM   #5
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Original Poster
Rep: Reputation: 15
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
 
Old 07-28-2003, 06:53 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

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


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
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
/tools/bin/env: /tools/bin/bash: No such file or directory DaZjorz Linux From Scratch 21 07-27-2005 07:11 AM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM
CUE file from BIN file ... Cerberus666 Linux - Software 2 10-12-2003 02:30 PM
bin file ploud Linux - Newbie 5 09-26-2003 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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