Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When installing Wine on 64-bit Ubuntu 12.04, both 64-bit support and 32-bit support get installed. If I run wine foo.exe where foo.exe is a 64-bit-aware installer, it thinks it's on 64-bit Windows. This would be fine if this mode didn't fail, but in my case, it does (yet the Wine database suggests the app I'm trying to install should work, presumably as a 32-bit app).

How do I tell Wine (and Winetricks) to use Wine in 32-bit-only mode?

share|improve this question
up vote 47 down vote accepted

It turns out that to make Wine run in 32-bit-only mode, one needs to:

  1. Remove ~/.wine if it was already created in the 64-bit mode. (WARNING: This removes all stuff you have installed under Wine. Move it aside instead if you want to avoid dataloss.)

  2. Set the WINEARCH environment variable to win32 i.e. export WINEARCH=win32

  3. Then run wine (or winetricks, etc.)

share|improve this answer
Just used this to get Editpad Pro 7.1.1 (32/64bit .exe) to correctly install under 12.04 LTS (64bit). After deleting ~/.wine, needed to re-install any apps (under Wine). – david6 May 27 '12 at 7:41
just mv .wine to .wine_backup in case after fail step :) – deadfish Aug 16 '12 at 13:34
Added the line export WINEARCH=win32 to .bashrc (after line 10). – david6 Jun 30 '13 at 3:08
"Set the WINEARCH environment variable to win32 i.e. export WINEARCH=win32" - how to do that? – cipricus Nov 20 '14 at 12:43

Install playonlinux there you will have this option. It is a frontend to wine, and makes it far better.enter image description here

This picture was taken on a 12.04 - 64bit system.

share|improve this answer
I don't see the option. Where in the playonlinux UI can I find it? – hsivonen May 15 '12 at 6:56
"Tools [the third dropdown menu]-> Manage Wine Versions" I will make a screenshot. – gajdipajti May 15 '12 at 10:54
Even after moving x86 Wine 1.5.4 from the "available" column to the "installed" column, launching installation using the "Configure" button in PlayOnLinux still launches in a 64-aware version of Wine. – hsivonen May 17 '12 at 16:53

Install Play on linux as said before , i did it in like 1 minute , What you need to have:

  1. Is have a 32 bit wine version , like said before.
  2. Next you need to press install
  3. Click the text at the bottom that says something like install a program that is not listed
  4. Check change wine version
  5. Select the 32 bit version you have installed
  6. Create a new virtual disk
  7. Name it
  8. AND THE MOS IMPORTANT:Select 32 bit virtual disk
  9. Select the installer and install
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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