Linux - NewbieThis 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.
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.
can anybody tell how to run exe file in ubuntu 10.04.but pls not using wine.help me with entire description of running with the commands at the terminal.
Well, that's going to be a bit difficult since you CANNOT run exe files natively in Linux. Exe files are for Windows and have no place or meaning in Linux. The only ways you can run them is through an emulator like Wine, CrossOver (built on Wine) or other emulation software or running them in a virtual machine in which you installed Windows.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
What is the .exe file you want to run under Linux? What does it do? There may be a Linux alternative which would suit if you no longer want to use Windows. If you MUST run .exe files without an emulator..., as EricTRA above, you're stuck with Windows.
WINE is an acronym for Wine Is Not an Emulator. This also applies to derivatives of WINE such as Crossover Office, Play On Linux, Cedega, etc.
So please stop referring to WINE as an emulator.
I can say that I'm not a 35 year old man, that doesn't mean I'm not 35 year old man. Wine can claim not to be an emulator. That doesn't mean it's not an emulator.
Even the wine FAQ admits doesn't go so far as to say that wine is not an emulator:
WINE is an acronym for Wine Is Not an Emulator. This also applies to derivatives of WINE such as Crossover Office, Play On Linux, Cedega, etc.
So please stop referring to WINE as an emulator.
Hi,
In my personal opinion:
If it walks like a duck and quacks like a duck, then it most likely is a duck. Get your things straight. It's not because an acronym (which is just a way of giving a duck a name) says it's no emulator then that doesn't mean at all that it's not.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
Quote:
WINE is an acronym for Wine Is Not an Emulator.
OK Guys, sorry I used the wrong word. Perhaps I should have said that Wine is a software layer which resides between Linux and the Windows program/application and allows any Windows system calls to be caught and handled under Linux.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
If the exe file is a dos file, then dosemu is very good. If it's a Windows program, then I'm afraid that wine is the best option.
I understand your antipathy toward wine. I found it a bit confusing myself. Sometimes after installing a Windows program with wine, I then was unable to find its executable file to start it. But, once familiar with it, it becomes reasonably easy. In fact, its structure is much the same as with Windows (but because you're not actually running Windows, you don't have the desktop and Start button, which confuses some people, I think). Anyway, if you've installed something, but can't find the program (the exe file), then look in the following directory:
Code:
/home/user/.wine
Note: "user" is your home directory (mine is /home/mark, whereas yours may be /home/someshsingh006). Once in this directory, go to drive_c, then to Program Files (notice that names such as "drive_c" and "Program Files" are almost identical to what you find in an actual Windows computer). For example, if I install the Windows version of dopewars with wine, then, after installing it, I need to find the exe file to run it. So, I go to Program Files within drive_c, find the dopewars directory, open that, and then run the executable. I would find it in:
Starting from /home/mark/.wine/drive_c, the file could be written as it would in Windows:
Code:
C:\Program Files\dopewars-1.5.12\dopewars.exe
So, once you know where the Program Files are on wine, you can then run them with a file manager (Konqueror or Nautilus or PCManFM or whatever) via double-clicking on them. If you get an error, like "VB40032.dll required to run this program", then simply do a Google search for the missing dll file, download it and add it to /home/user/.wine/drive_c/windows/system32/ directory (or the directory in your wine setup that has all the Windows dll files in it). Then try running the exe file again. If it still won't work, then you may not be able to run the particular exe file in wine.
Last edited by mark_alfred; 02-28-2011 at 10:51 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.