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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-26-2003, 04:47 AM
|
#1
|
Member
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133
Rep:
|
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.
|
|
|
07-26-2003, 05:14 AM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
chmod u+x file.bin
./file.bin
|
|
|
07-26-2003, 06:18 PM
|
#3
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
07-26-2003, 11:05 PM
|
#4
|
Member
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133
Original Poster
Rep:
|
Thank you very much. It really helps a lot.
|
|
|
07-28-2003, 05:52 PM
|
#5
|
Member
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133
Original Poster
Rep:
|
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
|
|
|
07-28-2003, 06:53 PM
|
#6
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
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 09:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|