Pages

Monday, April 23, 2012

Setting up Wine in Linux

Some basic concepts:

Tips:
  • Download Gecko for offline installation (link)
  • Get winetricks (link)
To set Wine prefix:
export WINEPREFIX=$HOME/wine/quicken/
# If you want a 32-bit system, use this before creating prefix.
export WINEARCH=win32
# Eventually, set a specific locale.
export LANG="en_AU"
winecfg
wine "d:\Setup.exe"
# clear
unset WINEPREFIX
These commands are used for manually setting the prefix in the current console.

It is important to note that, when creating a Wine prefix, the specified directory should not exist. It will get created when executing winecfg.

No comments: