LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2003, 10:32 AM   #1
Andrea40
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
Unhappy installing .exe and .bin files


I have been trying for a long time now to figure out how to install and run .exe and .bin files (e.g., Real Player). I don't understand what it means to "set execute permission, unpack, and run the program." If I downloaded the file, then I think I already have execute permission.

In windows, I used to double-click the icon, and it would install itself. Can someone help me? Please note that I do have a program to run specifically for Linux (a fax program).

Thank you.
 
Old 11-05-2003, 10:59 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
There are programs like Real Player that come with most distros. You did not mention which distro you are using. .EXE and .BIN files are windoze executables. Linus executables usually do not have the same kind of extensions.

I'm using Mandrake 9.1. It came with several audio programs that play mp3's, audio CD's etc. For example, I use Grip to play audio CD's. The programs you have will depend on which distro you have.

If you "have to" run Realplayer.exe under Linux, you will have to install Wine. That is no small challenge, especially if you are new to Linux.

Most software installation is done from RPM's or RPM like package managers. They vary with distro. You can also get software in source format. Then you can learn to compile and install your own software. Again, this is a new process to learn, and will take some time. There are several good sources of information on the "how to".

Hope this helps.
 
Old 11-05-2003, 11:05 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
http://www.linuxheadquarters.com/how...alplayer.shtml

linux does not care about extensions or how a file is named. Further more any exe file is probably for windows and will not run on linux. Files have permissions for read, write and execute. The console command chmod changes the permissions for a file. See man pages for details.

You can search www.freshmeat.net for all kinds of linux apps.
 
Old 11-05-2003, 11:11 AM   #4
Andrea40
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
http://www.cds-inc.com/swreg/linuxdload.html Here is the web site from which I downloaded the .bin fax program for Linux. Can't get it to work. . .
 
Old 11-05-2003, 11:20 AM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Set execute permission on the file, ie is permissions a probably now 'rw-r--r--', or something like that, and a file needs at least 'rwxr--r--' to execute (note the 'x'). Set it using the 'chmod' command (chmod 744 primafax_l.bin), or, if you use kde, right-click the file, click properties, then click the Permissions tab, and make sure you have 'x' selected for eXecute.
 
Old 11-05-2003, 11:51 AM   #6
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
In order to run the file, first chmod it as mentioned above, and then you can run it by cd-ing to the directory where the executabe is, and then running it by using the file name.

Example. I have a program named run.bin that I want to execute. It is located in my /home/user directory. First, I must make the file executabe. So I:

chmod 777 /home/user/run.bin

Next, I change to that directory:

cd /home/user

and then I run the file:

./run.bin

The period before the slash is not a type-O. It needs to be there. What the period means is 'in the current directory'. So the command is 'in the current directory, execute the file run.bin. ./run.bin

Hope this helps.

slight
 
Old 11-09-2003, 08:08 PM   #7
Andrea40
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you.

Thank you. This helps. I will keep working on trying to download my program.
 
  


Reply



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
Installing .exe files on linux LegendX Linux - Newbie 4 05-26-2005 06:30 PM
why cant I install .bin or .exe files ????? nikkilynn Linux - Newbie 12 04-01-2005 02:14 PM
Cant install exe and bin files DutchMarshall Linux - Software 9 02-18-2004 04:34 PM
Installing .exe files tangaz Linux - General 16 09-18-2003 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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