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 |
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.
|
|
08-07-2017, 12:31 PM
|
#1
|
LQ Newbie
Registered: Aug 2017
Posts: 1
Rep:
|
executables
I want to run an executable (.exe) in linux. My question is how ?
|
|
|
08-07-2017, 12:36 PM
|
#2
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
Quote:
Originally Posted by Jacksa
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.
|
08-07-2017, 12:44 PM
|
#3
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
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.
|
|
|
08-07-2017, 12:57 PM
|
#4
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,894
|
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.
|
|
|
08-07-2017, 04:24 PM
|
#5
|
Senior Member
Registered: Dec 2015
Posts: 1,639
Rep:
|
Quote:
Originally Posted by Jacksa
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?
|
|
|
08-07-2017, 04:36 PM
|
#6
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
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.
|
|
|
08-07-2017, 06:01 PM
|
#7
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
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.
|
|
|
08-07-2017, 09:10 PM
|
#8
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,863
|
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.
|
|
|
08-07-2017, 11:53 PM
|
#9
|
Senior Member
Registered: Dec 2015
Posts: 1,639
Rep:
|
Quote:
Originally Posted by sundialsvcs
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 NOT “ the 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.
|
All times are GMT -5. The time now is 06:46 PM.
|
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
|
|