LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-07-2017, 12:31 PM   #1
Jacksa
LQ Newbie
 
Registered: Aug 2017
Posts: 1

Rep: Reputation: Disabled
executables


I want to run an executable (.exe) in linux. My question is how ?
 
Old 08-07-2017, 12:36 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Jacksa View Post
I want to run an executable (.exe) in linux. My question is how ?
Have a look at: https://www.winehq.org/

Your Linux distro probably has a package for it.
 
1 members found this post helpful.
Old 08-07-2017, 12:44 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
The short answer is that you do not.
A longer answer is above.
A better answer is that you use something like Wikipedia to read what an Operating System is.
You can also just browse this website and things will probably become nore clear.
 
Old 08-07-2017, 12:57 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,894
Blog Entries: 13

Rep: Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945
Hi Jacksa and welcome to LQ.

Where did you get this executable? Is it a file where you can rebuild the source to run on a Linux system? Or is it known to be a Windows executable file where you only have the executable file. If the latter, then I feel your only options are to either find a copy which is made for Linux or to try to install Wine to see if you can run using that.
 
Old 08-07-2017, 04:24 PM   #5
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,639
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by Jacksa View Post
I want to run an executable (.exe) in linux. My question is how ?

All the other answers are valid. I just state that almost all of the *.exe files that I run these days, are old DOS games and I chose them because they run in DOSBox.

Most Windows®-programs which should run in the Wine-emulator do so only just and the trouble I had in the past with Sketchup and the fat-client for the network-application of a French school-network has made me give up.

So, my question is: Why?
 
Old 08-07-2017, 04:36 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If I want to run a Windows exe, I do it in a virtual machine. I have had success with Wine, but also way too many failures for to say it's an effective solution.
 
Old 08-07-2017, 06:01 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Which executable is it? That would influence the reply (and that reply might include offering Linux alternatives).

Similar to Awesome Machine, I normally use a Windows VirtualBox guest to run any Windows programs I want, but there are also a handful I have (less complex programs) that I run under Wine and Mono.
 
Old 08-07-2017, 09:10 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,863
Blog Entries: 4

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
To clarify ...

The file-extension .exe implies that this file contains an executable program for the Microsoft Windows operating system. (In like manner, the extension .dll would imply a binary library also for that system.)

The only conceivable way to maybe run such a program in Linux would be to use the Wine environment, which actually does implement a portion of the Microsoft Windows API such that some programs actually do run in it.

However ... there's also always ... "Windows!" Which happens to be fairly easy to get ahold of, and which is really, really good at running these programs. (In a Virtual Machine, of course, under Linux ...)

Last edited by sundialsvcs; 08-07-2017 at 09:14 PM.
 
Old 08-07-2017, 11:53 PM   #9
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,639
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
The only conceivable way to maybe run such a program in Linux would be to use the Wine environment, which actually does implement a portion of the Microsoft Windows API such that some programs actually do run in it.
It is NOTthe only conceivable way”, depending on the file. Some executables do not run in Wine, but do so in DOSBox. I lack experience with DOSEmu.

Else you are right.
 
1 members found this post helpful.
  


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
Executables - possible to mv? yogaboy Linux - Newbie 4 02-08-2007 03:05 PM
Executables dudeman41465 Linux - Software 4 10-09-2005 07:59 PM
executables humblestudent87 Linux - Newbie 6 07-22-2004 11:42 AM
Help on executables.... Kit Linux - General 9 12-06-2002 11:24 AM
Where are the executables? rooman Linux - Software 6 06-05-2002 02:31 PM

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

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