LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   .EXE Files (https://www.linuxquestions.org/questions/linux-newbie-8/exe-files-784734/)

mylnx 01-25-2010 08:59 PM

.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?

bsdunix 01-25-2010 09:06 PM

.exe files are usually executables for a Windows operating system. You sure you downloaded the right one for a GNU/Linux operating system?

Elemecca 01-25-2010 09:07 PM

.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.

John VV 01-26-2010 01:53 AM

.exe files are for Microsoft NOT linux!

What distro are you using AND what program do you want to install.

MTK358 01-26-2010 07:16 AM

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

i92guboj 01-26-2010 08:19 AM

Quote:

Originally Posted by mylnx (Post 3840445)
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?

DavidMcCann 01-26-2010 06:05 PM

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.


All times are GMT -5. The time now is 12:31 PM.