LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-25-2010, 09:59 PM   #1
mylnx
LQ Newbie
 
Registered: Aug 2009
Posts: 10

Rep: Reputation: 0
.EXE Files


I just downloaded a .exe file. I cannot get it to install after I double click on it. What should I do to make it work?
 
Old 01-25-2010, 10:06 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
.exe files are usually executables for a Windows operating system. You sure you downloaded the right one for a GNU/Linux operating system?
 
Old 01-25-2010, 10:07 PM   #3
Elemecca
Member
 
Registered: Nov 2008
Location: San Francisco, CA
Distribution: Gentoo, CentOS
Posts: 71

Rep: Reputation: 22
.exe files are Windows executables. They aren't natively supported by Linux. If you don't have a copy of Windows lying around, you could check out the WINE project.
 
Old 01-26-2010, 02:53 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
.exe files are for Microsoft NOT linux!

What distro are you using AND what program do you want to install.
 
Old 01-26-2010, 08:16 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Windows executables end with ".exe". They use a different format than Linux's "ELF" executables, and often call Windows-specific calls, so they will NOT run in Linux.

The Linux OS itself does not have a concept of "file extensions". Instead it uses the "executable permission", which is not part of the filename. Sometimes they they end with ".elf" (because Linux executables use the ELF format), or ".run" (to tell you that you must run it).

Each file has an owner and a group.

The file has "flags" that say separately what the owner, group, and other users can do with the file.

These permissions include "read", "write", and "execute".

EDIT:

If you wanted to install a program, Linux programs are not stored in self-extracting executables like in Windows.

Instead they are stores as an archive of the program's source code (the ".tar.gz" and ".tar.bz2" formats are often used) that you must compile.

Or use the distro's package manager, it will download and install precompiled programs automatically.

For example in Ubuntu:

Code:
sudo apt-get install mypackage

Last edited by MTK358; 01-26-2010 at 08:20 AM.
 
Old 01-26-2010, 09:19 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by mylnx View Post
I just downloaded a .exe file. I cannot get it to install after I double click on it. What should I do to make it work?
What exactly are you trying to install?
 
Old 01-26-2010, 07:05 PM   #7
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
Get Wine installed on your computer: that's a Windows emulator. Get the Wine user guide from their website. Then you can use Wine to run Windows .exe programs, including installers.
 
  


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
samba compatibility with microsoft srvtools.exe (usrmgr.exe and srvmgr.exe) checkmate3001 Linux - Software 1 09-06-2008 06:08 AM
Restrict exe files inside an archive files in samba paulreynand Linux - Networking 2 02-02-2006 05:07 AM
.exe files meenalborkar Red Hat 2 03-28-2005 12:19 AM
.exe files pranavk Linux - Newbie 4 11-06-2002 07:25 PM
.exe files sleekit Linux - Newbie 1 12-28-2001 02:45 AM


All times are GMT -5. The time now is 10:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration