Issues Setting Up 64-bit Wine Prefix on Ubuntu 22.04 (Jammy) with WineHQ Stable

Questions about Wine on Linux
Post Reply
biggy
Newbie
Newbie
Posts: 2
Joined: Sat Apr 20, 2024 3:09 am

Issues Setting Up 64-bit Wine Prefix on Ubuntu 22.04 (Jammy) with WineHQ Stable

Post by biggy »

Hello everyone,

I've been trying to set up a 64-bit Wine prefix on my Ubuntu system using WineHQ Stable. However, I've encountered some issues and would appreciate some guidance.

Problem:
  • Installed `winehq-stable` which is supposed to be the 64-bit version.
  • Tried to set `WINEARCH` to `win64`, but Wine created a 32-bit prefix instead.
  • Found `wine64` symlinked to `/opt/wine-stable/bin/wine64`, but the file doesn't exist.
  • Attempted to create a 64-bit prefix using `WINEARCH=win64` and `WINEPREFIX=~/.wine64`, but Wine still created a 32-bit prefix.
What I've Tried:
  • Checked Wine installations with `dpkg -l | grep wine`, showing `wine-stable:i386` and `winehq-stable` packages installed.
  • Tried running `wine64 --version`, which returns "command not found".
  • Used `WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg`, but it still created a 32-bit prefix.
Questions:
1. How can I successfully set up a 64-bit Wine prefix?
2. Should I uninstall `winehq-stable` and install another version?
3. What steps should I follow to troubleshoot this issue further?

Any help would be greatly appreciated! Thank you.

Feel free to modify or expand upon this post as needed before posting it on the forum.
biggy
Newbie
Newbie
Posts: 2
Joined: Sat Apr 20, 2024 3:09 am

Re: Issues Setting Up 64-bit Wine Prefix on Ubuntu 22.04 (Jammy) with WineHQ Stable

Post by biggy »

Code: Select all

biggy:~$ dpkg -l | grep wine
rc  q4wine                                     1.3.12-1                                     amd64        Qt GUI for WINE
rc  wine-stable:i386                           9.0.0.0~jammy-1                              i386         WINE Is Not An Emulator - runs MS Windows programs
rc  wine-stable-i386:i386                      9.0.0.0~jammy-1                              i386         WINE Is Not An Emulator - runs MS Windows programs
biggy:~$ sudo apt remove q4wine wine-stable:i386 wine-stable-i386:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'q4wine' is not installed, so not removed
Package 'wine-stable-i386:i386' is not installed, so not removed
Package 'wine-stable:i386' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'winehq-jammy.sources.backup' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list.backup' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
biggy:~$ rm -rf ~/.wine
biggy:~$ dpkg -l | grep wine
rc  q4wine                                     1.3.12-1                                     amd64        Qt GUI for WINE
rc  wine-stable:i386                           9.0.0.0~jammy-1                              i386         WINE Is Not An Emulator - runs MS Windows programs
rc  wine-stable-i386:i386                      9.0.0.0~jammy-1                              i386         WINE Is Not An Emulator - runs MS Windows programs

After uninstalling winehq-stable and purging, I ran the above commands. I noticed when i grep i still see some installs for wine but cannot uninstall.

Still I troubleshoot and welcome any help. Thank you. I am a noob with wine and Ubuntu at large so bear with me. :D
desessarts
Level 3
Level 3
Posts: 68
Joined: Wed Oct 04, 2023 7:57 am

Re: Issues Setting Up 64-bit Wine Prefix on Ubuntu 22.04 (Jammy) with WineHQ Stable

Post by desessarts »

see this thread for 2 methods for checking if you have a 32 ou 64 bits prefix

viewtopic.php?t=33710#:~:text=Look%20fo ... 2032%20bit.
Post Reply