How to check if Wine is 64/32bits

Questions about Wine on Linux
Locked
michaelbr
Level 2
Level 2
Posts: 25
Joined: Fri Sep 07, 2018 9:16 am

How to check if Wine is 64/32bits

Post by michaelbr »

This is my system:
OS: MX Linux 19
installed Wine & Winetricks through Synaptics

Code: Select all

wine --version
wine-4.0 (Debian 4.0-2)

Code: Select all

 winetricks --version
20181203 - sha256sum: b4b29a961905bfed1db98f10e2f09a356b719861fc8602ffbf813a22579b2848
when tried to install

Code: Select all

 winetricks vcrun2008
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 24
drwxr-xr-x  6 Michael Michael 4096 Dec 26 09:48 .
drwxr-xr-x  4 Michael Michael 4096 Dec 26 09:48 ..
drwxr-xr-x  3 Michael Michael 4096 Dec 26 09:44 ProgramData
drwxr-xr-x  6 Michael Michael 4096 Dec 26 09:44 Program Files
drwxr-xr-x  4 Michael Michael 4096 Dec 26 09:44 users
drwxr-xr-x 16 Michael Michael 4096 Dec 26 09:48 windows

Registry info:
/home/Michael/.wine/system.reg:#arch=win64
/home/Michael/.wine/user.reg:#arch=win64
/home/Michael/.wine/userdef.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: '/home/Michael/.wine' is a 64-bit installation, it cannot be used with a 32-bit wineserver." 
does this mean that my Wine installed through Synaptics is 32bit instead of 64?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: How to check if Wine is 64/32bits

Post by jkfloris »

does this mean that my Wine installed through Synaptics is 32bit instead of 64?
Which Wine packages do you have installed?

Code: Select all

dpkg -l | grep wine
michaelbr
Level 2
Level 2
Posts: 25
Joined: Fri Sep 07, 2018 9:16 am

Re: How to check if Wine is 64/32bits

Post by michaelbr »

jkfloris wrote: Fri Dec 27, 2019 12:39 pm Which Wine packages do you have installed?
this is the output

Code: Select all

dpkg -l | grep wine
ii  libwine:i386                          4.0-2                               i386         Windows API implementation - library
ii  wine                                  4.0-2                               all          Windows API implementation - standard suite
ii  wine32:i386                           4.0-2                               i386         Windows API implementation - 32-bit binary loader
ii  winetricks                            0.0+20181203-3                      all          simple tool to work around common problems in Wine
michaelbr
Level 2
Level 2
Posts: 25
Joined: Fri Sep 07, 2018 9:16 am

Re: How to check if Wine is 64/32bits

Post by michaelbr »

michaelbr wrote: Fri Dec 27, 2019 2:27 pm this is the output

Code: Select all

dpkg -l | grep wine
ii  libwine:i386                          4.0-2                               i386         Windows API implementation - library
ii  wine                                  4.0-2                               all          Windows API implementation - standard suite
ii  wine32:i386                           4.0-2                               i386         Windows API implementation - 32-bit binary loader
ii  winetricks                            0.0+20181203-3                      all          simple tool to work around common problems in Wine
I think my problem was I had by mistake installed Wine 32-bits and Winetricks 64-bits, I guess now it's fixed, this is the output for the installed packages.

Code: Select all

dpkg -l | grep wine
ii  libwine:amd64                         4.0-2                               amd64        Windows API implementation - library
ii  libwine:i386                          4.0-2                               i386         Windows API implementation - library
ii  wine                                  4.0-2                               all          Windows API implementation - standard suite
ii  wine32:i386                           4.0-2                               i386         Windows API implementation - 32-bit binary loader
ii  wine64                                4.0-2                               amd64        Windows API implementation - 64-bit binary loader
ii  winetricks                            0.0+20181203-3                      all          simple tool to work around common problems in Wine
My ultimate goal is to install Line apps (a messenger similar to Whatsapp), in order to do so, I need to install vcrun2008, however the install was aborted, I'll open another topic for this problem. Thanks so much for your help, jkfloris.
Locked