How do I create a 32-bit WINE prefix?

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


Solution 1:

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/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./

Solution 2:

This Is how I did it. The above answer - for me - did not work.

First I deleted the Wine folder with this command:

rm -r ~/.wine

If it tells you that directory is not empty just add the -f (force) flag. Note that this will remove any windows applications installed in this prefix!

Your command should look something like this:

rm -r -f ~/.wine

And then create a 32 bit prefix with this command:

WINEARCH=win32 WINEPREFIX=~/.wine wine wineboot