Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can ".exe" and ".msi" files (Windows Software) be installed in Ubuntu?

share|improve this question

14 Answers

up vote 24 down vote accepted

Yes, if you first install Wine compatibility layer (link) from the Software Center, you can install Windows applications in Ubuntu. Be warned though that not all applications work perfectly or without glitches. Some applications are even unusable, while others work perfectly (see the Wine Application Database for a good idea of how well various programs work).

Once Wine is installed, you can simply double click an .exe or .msi file to run it. If this doesn't work for some reason, right-click the file and select "Open With Wine Windows Program Loader". Of course, only run executables from sources you trust to avoid Windows malware.

Screenshot of right-click opening an executable

If you run into compatibility issues, you may wish to try the latest Wine Beta version from the ppa:ubuntu-wine/ppa software source (see What are PPAs and how do I use them?). You might also consider installing Winetricks (link), CrossOver (link) or CrossOver Games (link) to install and use software more easily.

To see the debug output of Windows software (in case something goes wrong) run it from a terminal using wine msiexec /i file.msi or simply wine file.exe.

share|improve this answer
Apturl doesn't seem to work here. If I just type it in as a regular link, it adds http:// to it. If I change that to apt:// it's no longer shown as a link. – Tommy Brunn Aug 5 '10 at 7:33
oops it looks apturl doesn't work here in that case we have apt.ubuntu.com/p/<package name> – akshatj Aug 5 '10 at 7:36
Hehe. Tried that too and was told "You don't seem to be running Ubuntu". :D – Tommy Brunn Aug 5 '10 at 7:47
You should install wine from their PPA - then you get access to winetricks. – Nathan Osman Aug 5 '10 at 14:26
@George Edison: Added that to the answer. – Tommy Brunn Aug 5 '10 at 14:34

yes by using wine.

get it by going to the Ubuntu software center.

here is a link to the ppa https://launchpad.net/~ubuntu-wine/+archive/ppa

here is a video on how to install http://www.youtube.com/watch?v=hZgjgeDQVo4

here is a video on installing basic applications http://www.youtube.com/watch?v=RLRLWEfdFqY&feature=related

and here is wine wiki which will provide you with some more information. http://wiki.winehq.org/HowTo

if you wish to play a game from a CD you can install play on linux which is also available in the Ubuntu software center. hope this helps

share|improve this answer
2  
+1 for play on linux, I've looked for something like that for a while! – John Dec 13 '10 at 21:06
2  
−1 for using a ppa when it's really neither necessary nor recommended :\ – Stefano Palazzo Aug 8 '11 at 4:34

You'll first need to install the Wine Compatibility Layer, it will allow you to run Windows appliactions on Ubuntu:

  • Open the Ubuntu Software Centre
  • Search for "Wine"
  • Install "Wine Microsoft Windows Compatibility Layer"

Next you need to tell ubuntu that this is a program.

  • Right click the .exe file and select Properties
  • Go to Permissions and check Allow executing file as program

Now you can run the program

  • Right click the .exe file and select Open with Wine Windows Program Loader

That's all, the program should now run fine. I've tested this using various pieces of Windows software, including the Windows version of Mono.

share|improve this answer
2  
+1 for not listing a PPA – lazyPower Aug 7 '11 at 17:29
3  
+1 for posting a complete answer – Marco Ceppi Aug 7 '11 at 17:39

First of all an .EXE file is a Windows Executable file. In Linux and other *nix based systems we do not use .EXE as file extension for program executables. Rather we set the permission for the program to be executable by using chmod command.

Secondly your question is too broad. Which '.EXE file' by which I assume you are trying to run a Windows Application are you trying to run? There a program called WINE which has ability to run Windows Programs to a various levels of success.

However you are strongly suggested to use a native alternative app, because it will perform better and better integrate with the desktop.

share|improve this answer
9  
they asked how to run .exe files not an alternative to them. – jnut Oct 25 '10 at 13:44

Wine is not a perfect answer, as you will probably many compatibility problems. You might consider first checking up on your application at WineHQ.org. Platinum is the best level, then Gold, Silver, Bronze, and finally Garbage.

alt text

If you want to run games, you can try special versions of Wine like PlayOnLinux (free) or CrossOver (payed). Otherwise, common applications should work well enough with a little configuration.

share|improve this answer

For applications that do not work in Wine, you can use Virtualbox by installing a Windows in the virtual machine. 3D acceleration is supported in Virtualbox.

See also these questions:

share|improve this answer

Aside from a WINE implementation, if you've got a copy of windows laying around, you may also want to look into VirtualBox or some other virtualization technology.

Here is link on getting setup: http://www.ubuntugeek.com/create-and-manage-virtual-machines-using-virtualbox.html

A con in using a VM(virtual machine) is that they are generally reserved for upper end machines as they are an OS inside of your OS that takes up additional OS resources.

a pro would be that they are easier to backup and re-instate in-case of a catastrophic software failure.

Wikipedia has an article on both VirtualBox and Virtualization. I can only post one link until I get more cool points so I figured the tutorial would be a better link as it has a brief description

share|improve this answer
We had lots of problems using VitualBox on our Ubuntu systems @ school. – Wayne Werner Aug 5 '10 at 13:06
Right, some times some work for some - and others for others. I've never been able to get VMWare to work but I have had some success with QEMU/KVM. "Individual results may vary." – aggitan Aug 5 '10 at 14:55

Run:

sudo apt-get install wine

Then simply double click on exe

share|improve this answer
Run apt-get as root :) – Rafał Cieślak Aug 6 '11 at 18:28

The Wine PPA indicated above is helpful, however I will note that you don't have to use beta packages if you're using the PPA. The wine1.5 package will give you the latest beta package, however the wine1.4 package will keep you at the stable Wine 1.4 release and not expose you to regressions. You can also just install the wine package for the latest stable version.

share|improve this answer

You should try wine:

wine msiexec /i your_msi_file.msi
share|improve this answer

Also, if you want to get updates from the Wine developers so that more and more Windows software is supported, go to System->Software Sources and go to the other Software tab. Click the Add button and copy+paste this into it: ppa:ubuntu-wine/ppa

share|improve this answer

Yes, as others have said, you can use wine to run Windows programs.

Once wine is installed, you can run a Windows executable by right clicking it and clicking 'open with wine Windows program loader' or using the terminal as explained above.

You should check here to see if/how the program can be run in wine. Lots of programs will not work perfectly or will need extra configuration to run. A program called winetricks (see http://wiki.winehq.org/winetricks) may make things a bit easier.

Always try to use native software or free alternatives if possible. You can search for applications in Ubuntu Software Centre - programs from here will work much better and will need little configuration. You can also look on this website: http://www.osalt.com/ for free software alternatives to proprietary products.

share|improve this answer

As others have said, Wine is usually the best option, but in some cases you can see better performance using Mono. However, for the program to run under Mono, the program must be a .NET application, and even that isn't a guarantee that the program will run without some hand holding.

To recap, Wine is a safe bet, but Mono is installed by default in Ubuntu and can handle many simple .EXE files that are .NET applications.

share|improve this answer

Run sudo apt-get install wine, then configure wine using winecfg command

This will let you right click any .exe file to open with wine loader.

share|improve this answer

protected by jrg Dec 27 '12 at 1:03

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.