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.

How do I create a 32-bit Wine prefix on Ubuntu 12.04 64-bit?

share|improve this question
Thank you very much. I used it for Unity3D. Because Unity3D only work on 32-bit. –  NullException Oct 14 at 19:06

3 Answers 3

To create a 32-bit WINE prefix on a 64-bit Ubuntu system, you need to open a terminal and run the following command:

WINEPREFIX='/home/username/prefix32' WINEARCH='win32' wine 'wineboot'
  • Where WINEPREFIX is the directory for the prefix
  • This directory must not already exist or you will get an error! Please do not manually create it in Nautilus or with mkdir./
share|improve this answer
thx! I have been fighting with this for a week :(, the message could be more specific.. –  Aquarius Power Apr 30 '13 at 19:23
up vote 8 down vote accepted

This Is how I did it not for me the above answer did not work

so first I deleted the wine folder with this command

rm -r ~/.wine

if it will tell you that directory is not empty just write sudo in front

your commend should look something like this

sudo rm -r ~/.wine

and then created 32 bit prefix with this command

WINEARCH=win32 WINEPREFIX=~/.wine winecfg

share|improve this answer
First, you shouldn't have to write sudo in the front. Also, this will delete the entire virtual windows drive. –  shelvacu May 3 at 8:14
That's not correct answer, because u're deleting 64bit version. You just have to create another PREFIX in order to have them both. –  Heihachi Oct 16 at 10:40

I was running into the same issue.

First enter su to run as a super user, and then type WINEARCH=win32 WINEPREFIX=~/.wine winecfg

It should start to download the drivers necessary. I believe this issue is due to a problem occurring during the normal download. For me it my internet dropped as it was originally downloading the drivers.

share|improve this answer
You do never need to run wine as root! –  user877329 Aug 28 at 6:21

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.