Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

up vote 35 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

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.