![]() $ WINEARCH=win32 WINEPREFIX=~/win32 winecfg You can combine this with WINEPREFIX to make a separate win32 and win64 environment: Not setting WINEARCH will get you a 64-bit one. This will get you a 32-bit Wine environment. Rename your ~/.wine directory and create a new Wine environment by running $ WINEARCH=win32 winecfg. You can change this behavior using the WINEARCH environment variable. ![]() Wine will start a 64-bit environment by default. $ env WINEPREFIX=~/.customprefix wineboot -u To create a default prefix without running a Windows program or other GUI tool you can use: Warning: Wine prefixes are not sandboxes! Programs running under Wine can still access the rest of the system! (for example, Z: is mapped to /, regardless of the Wine prefix). The first time a program is run with a new Wine prefix, Wine will automatically create a directory with a bare C-drive and registry.įor example, if you run one program with env WINEPREFIX=~/.win-a wine program-a.exe, and another with env WINEPREFIX=~/.win-b wine program-b.exe, the two programs will each have a separate C-drive and separate registries. This is useful if you want to use separate configurations for different Windows programs. You can override the location Wine uses for a prefix with the WINEPREFIX environment variable. ![]() The prefix directory also contains a tree which your Windows programs will see as C: (the C-drive). It is created/updated automatically whenever you run a Windows program or one of Wine's bundled programs such as winecfg. This directory is commonly called a "Wine prefix" or "Wine bottle".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |