REQUEST a lesson about wine....

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
Codesound
Level 2
Level 2
Posts: 48
Joined: Sun Sep 01, 2019 7:03 am

REQUEST a lesson about wine....

Post by Codesound » Sun Feb 28, 2021 5:36 am

Hi,

I have been using wine for a few years but I just don't understand how to use it correctly:
please let me know to understand:
what is wineprefix?
what is the difference between wineprefix_x64 and _x32?
why are these two differences?
when AND HOW should I use one rather than the other?

thanks in advance for anyone helping me ...

Image

jkfloris
Level 9
Level 9
Posts: 1441
Joined: Thu Aug 14, 2014 10:10 am

Re: REQUEST a lesson about wine....

Post by jkfloris » Mon Mar 01, 2021 4:18 pm

A wineprefix is the virtual Windows installation. The default is the hidden .wine directory in your home directory.
You can make as many as you want, with any name you like, but you have to use the WINEPREFIX environment variable.

Code: Select all

# create a new prefix in the winetest directory
WINEPREFIX=~/winetest wine winecfg
A prefix can mimic a Windows 32-bit or 64-bit installation.
Why do you need a 32-bit prefix?
- If you need to mimic a Windows version before Windows XP you must create a 32-bit prefix.
- Some programs work better in a 32-bit prefix. That is why winetricks gives you this warning (even though it looks like an error).
You can create a 32-bit prefix with the WINEARCH variable:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/winetest32 wine winecfg
You can't change a 32-bit prefix into a 64-bit or vice versa, once the prefix is created.

beatybit
Newbie
Newbie
Posts: 1
Joined: Sat Oct 29, 2016 8:11 am

Re: REQUEST a lesson about wine....

Post by beatybit » Tue Mar 02, 2021 11:08 am

I assume that 'prefix' comes from the --prefix option of ./configure

User avatar
dimesio
Moderator
Moderator
Posts: 12931
Joined: Tue Mar 25, 2008 10:30 pm

Re: REQUEST a lesson about wine....

Post by dimesio » Wed Mar 03, 2021 6:51 am

beatybit wrote:
Tue Mar 02, 2021 11:08 am
I assume that 'prefix' comes from the --prefix option of ./configure
No. The --prefix option of ./configure determines where make install will install the built wine. It has nothing to do with wineprefixes.

Codesound
Level 2
Level 2
Posts: 48
Joined: Sun Sep 01, 2019 7:03 am

Re: REQUEST a lesson about wine....

Post by Codesound » Wed Mar 03, 2021 4:13 pm

Thank you all!
There are no online tutorials or specific guides for using wine ... a lot of things I don't know.
Now everything is much clearer!

Regards

spoon0042
Level 6
Level 6
Posts: 518
Joined: Thu Dec 24, 2009 11:00 am

Re: REQUEST a lesson about wine....

Post by spoon0042 » Wed Mar 03, 2021 5:28 pm

There is the FAQ as well as other documents on the wiki. The section on wineprefixes for example is here: https://wiki.winehq.org/FAQ#Can_I_store ... 2F.wine.3F

https://appdb.winehq.org/ may also help, it has reports from users on running specific apps with wine. Less of a guide than just notes, typically, but if a program needs some special setup it will be noted there. Hopefully. :)

Post Reply