How to install Wine 32-bit on Linux Mint 19 64-bit ?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
manoaratefy
Level 1
Level 1
Posts: 22
Joined: Thu Dec 13, 2018 1:58 am
Location: Madagascar
Contact:

How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by manoaratefy » Wed Jan 30, 2019 3:02 am

Good morning,

I was using Wine in Mint 18.2 and when I upgraded, wine didn't work on 32-bit EXE. It explains that I should install the package wine32 but I can't (unsatisfied dependencies). Then, I decided to remove wine and reinstall it properly.

So, I did:

Code: Select all

manoaratefy@manoaratefy-hb ~ $ sudo apt-get remove wine*
manoaratefy@manoaratefy-hb ~ $ sudo apt-get update
manoaratefy@manoaratefy-hb ~ $ sudo apt-get install wine-stable
Then, found that wine32 is still required when I launch 32-bit executable. I install it:

Code: Select all

manoaratefy@manoaratefy-hb ~ $ sudo apt-get install wine32
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package wine32 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'wine32' has no installation candidate
No installation candidate. Found on the web that I should enable i386 architecture. So:

Code: Select all

manoaratefy@manoaratefy-hb ~ $ sudo dpkg --add-architecture i386
manoaratefy@manoaratefy-hb ~ $ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]                                                                                             
Get:2 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB]                                                                                                    
Get:3 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [2 304 B]                                                                                      
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease                                           
Ign:5 https://mirrors.ukfast.co.uk/sites/linuxmint.com/packages tara InRelease                
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [190 kB]           
Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                          
Hit:8 https://mirrors.ukfast.co.uk/sites/linuxmint.com/packages tara Release                             
Hit:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                       
Get:11 https://mirrors.ukfast.co.uk/sites/linuxmint.com/packages tara/main i386 Packages [12,9 kB]                                                  
Get:12 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1 007 kB]                                   
Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [112 kB]          
Get:14 https://mirrors.ukfast.co.uk/sites/linuxmint.com/packages tara/upstream i386 Packages [32,2 kB]
Get:15 https://mirrors.ukfast.co.uk/sites/linuxmint.com/packages tara/import i386 Packages [2 730 B]                  
Get:16 https://mirrors.ukfast.co.uk/sites/linuxmint.com/packages tara/backport i386 Packages [29,5 kB]               
Get:17 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [3 500 B]    
Get:18 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9 156 B]                                                                                       
Get:19 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8 531 kB]                                                                                        
Get:20 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]                                                                                        
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [431 kB]                                                                                      
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [6 928 B]                                                                               
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [707 kB]                                                                                  
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [6 540 B]                                                                               
Get:25 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [3 472 B]                                                                               
Fetched 11,3 MB in 1min 53s (101 kB/s)                                                                                                                                  
Reading package lists... Done
manoaratefy@manoaratefy-hb ~ $ sudo apt-get install wine32
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried also to follow instructions on winehq.com (using their own repo) but no success (same issue, unmet dependencies). So, any idea to make wine correctly running for 32-bit applications?

User avatar
AndyMH
Level 9
Level 9
Posts: 2500
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by AndyMH » Wed Jan 30, 2019 3:52 am

My notes from about two years ago, don't use wine anymore, now use crossover instead. Assume it will still work:

13. Install wine from software manager. If Office 2007 is installed with either winetricks or playonlinuxordirectly from wine it will not work. This is because wine gets something wrong with office (32 bit app) in a 64 bit mint installation. Instead from a terminal enter:

Code: Select all

WINARCH=win32 WINPREFIX=~/.win32 winecfg
This creates a hidden folder win32 (prefix) in /home/andy. It also couldn’t find wine mono or gecko and installed these automatically. Funny, checking in the software manager after the event wine mono and gecko are showing not installed (maybe this is a 32bit to 64bit issue?).
  • Wine-gecko 2.21 – Wine is a compatibility layer for running Windows applications on Linux. Applications are run at full speed without the need of cpu emulation. Wine does not require Microsoft Windows, however it can use native system dll files in place of its own if they are available.
  • This package includes the Gecko rendering engine from the Mozilla project for displaying embedded web pages in Wine applications.
  • Wine-mono 0.0.8 – Wine is a compatibility layer for running Windows applications on Linux. Applications are run at full speed without the need of cpu emulation. Wine does not require Microsoft Windows, however it can use native system dll files in place of its own if they are available.
    This package includes Wine's version of the Mono project for running applications built using Microsoft's .net framework

Output from the above generated a number of errors as below, but didn’t affect the final outcome:

Code: Select all

andy@T430 ~ $ WINEARCH=win32 WINEPREFIX=~/.win32 winecfg
wine: created the configuration directory '/home/andy/.win32'
fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
fixme:wininet:InternetLockRequestFile STUB
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
fixme:wininet:InternetLockRequestFile STUB
fixme:storage:create_storagefile Storage share mode not implemented.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth>= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0x11fe8a0, overlapped 0x11fe8ac): stub
wine: configuration in '/home/andy/.win32' has been updated.
Note – winbind was not installed, don’t know if its installation would have made any difference. Installed after the event just in case.
WINBIND – Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.
This package provides winbindd, a daemon which integrates authentication and directory service (user/group lookup) mechanisms from a Windows domain on a Linux system.


Winbind based user/group lookups via /etc/nsswitch.conf can be enabled via the libnss-winbind package. Winbind based Windows domain authentication can be enabled via the libpam-winbind package.

14. To install office, in a terminal:

Code: Select all

WINEPREFIX=~/.win32 wine control
This will bring up a window:

Use Add/Remove Programs to get at the setup.exe for office 2007.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

manoaratefy
Level 1
Level 1
Posts: 22
Joined: Thu Dec 13, 2018 1:58 am
Location: Madagascar
Contact:

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by manoaratefy » Wed Jan 30, 2019 4:51 am

The problem is there is no setup file for my application. I have just to launch the .EXE to get it running. So, I tried this after steps you described:

Code: Select all

manoaratefy@manoaratefy-hb /media/manoaratefy/01D265B03B445870/Program Files (x86)/Anuman interactive/Us long trucks road simulator $ WINEPREFIX=~/.win32 wine ./alh.exe
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
wine: Mauvais format EXE pour Z:\media\manoaratefy\01D265B03B445870\Program Files (x86)\Anuman interactive\Us long trucks road simulator\alh.exe.

User avatar
Pierre
Level 19
Level 19
Posts: 9062
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by Pierre » Wed Jan 30, 2019 5:15 am

you can just add the 32bit support by:

Code: Select all

sudo dpkg --add-architecture i386 
the install wine thus:

Code: Select all

sudo apt-get install wine-stable
with the current move to 64bit - this issue could be become more common.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
kc1di
Level 14
Level 14
Posts: 5331
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by kc1di » Wed Jan 30, 2019 6:22 am

In mint 19.x wine has change you have to install both wine-stable and wine32 IE

Code: Select all

sudo apt install wine-stable wine32
Then the 32 bit program should load and run fine. I also recommend playonlinux to many who are not that familiar with wine It's a nice front end and will allow you to select not just 32 bit installs but install many versions of wine without effecting one another. Good luck.
Easy tips : https://easylinuxtipsproject.blogspot.com/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

manoaratefy
Level 1
Level 1
Posts: 22
Joined: Thu Dec 13, 2018 1:58 am
Location: Madagascar
Contact:

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by manoaratefy » Wed Jan 30, 2019 3:16 pm

kc1di wrote:
Wed Jan 30, 2019 6:22 am
In mint 19.x wine has change you have to install both wine-stable and wine32 IE

Code: Select all

sudo apt install wine-stable wine32
Then the 32 bit program should load and run fine. I also recommend playonlinux to many who are not that familiar with wine It's a nice front end and will allow you to select not just 32 bit installs but install many versions of wine without effecting one another. Good luck.

Code: Select all

manoaratefy@manoaratefy-hb ~ $ sudo apt install wine-stable wine32
[sudo] password for manoaratefy: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine-stable is already the newest version (3.0-1ubuntu1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

User avatar
kc1di
Level 14
Level 14
Posts: 5331
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by kc1di » Wed Jan 30, 2019 3:27 pm

are you running 19 or 19.1? I believe there was a problem with wine in 19. So you may want to upgrade to 19.1 if that is the case.
Easy tips : https://easylinuxtipsproject.blogspot.com/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

manoaratefy
Level 1
Level 1
Posts: 22
Joined: Thu Dec 13, 2018 1:58 am
Location: Madagascar
Contact:

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by manoaratefy » Wed Jan 30, 2019 4:25 pm

I'm using 19. Let me upgrade to 19.1 and re-check.

Lemonjuice
Level 1
Level 1
Posts: 22
Joined: Sat Dec 01, 2018 8:50 pm

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by Lemonjuice » Thu Jan 31, 2019 4:57 pm

I recommend PlayOnLinux, this can create a 32bit prefix in the click of a few buttons.
https://www.playonlinux.com/en/

manoaratefy
Level 1
Level 1
Posts: 22
Joined: Thu Dec 13, 2018 1:58 am
Location: Madagascar
Contact:

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by manoaratefy » Fri Feb 01, 2019 4:56 pm

kc1di wrote:
Wed Jan 30, 2019 3:27 pm
are you running 19 or 19.1? I believe there was a problem with wine in 19. So you may want to upgrade to 19.1 if that is the case.
Still have the same issue after upgrading.

User avatar
kc1di
Level 14
Level 14
Posts: 5331
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by kc1di » Fri Feb 01, 2019 5:38 pm

At this point I'd try Playonlinux. When you get it install and run it go to tools and manage wine version and install the wine version you want.
When you use it to install the program you want it will give you the choice of either 32 or 64 bit.
Easy tips : https://easylinuxtipsproject.blogspot.com/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

manoaratefy
Level 1
Level 1
Posts: 22
Joined: Thu Dec 13, 2018 1:58 am
Location: Madagascar
Contact:

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by manoaratefy » Sat Feb 02, 2019 2:06 am

kc1di wrote:
Fri Feb 01, 2019 5:38 pm
At this point I'd try Playonlinux. When you get it install and run it go to tools and manage wine version and install the wine version you want.
When you use it to install the program you want it will give you the choice of either 32 or 64 bit.
I tried PlayOnLinux (following this topic to run standalone .exe) but it says:

Code: Select all

Error in POL_Wine
Wine seems to have crashed

If your program is running, just ignore this message

User avatar
thatsafact
Level 1
Level 1
Posts: 20
Joined: Sat Feb 02, 2019 12:44 am

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by thatsafact » Sat Feb 02, 2019 2:48 am

I had similar issues, but what EXE are you trying to run?

User avatar
Pierre
Level 19
Level 19
Posts: 9062
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by Pierre » Sat Feb 02, 2019 3:20 am

thatsafact wrote:
Sat Feb 02, 2019 2:48 am
I had similar issues, but what EXE are you trying to run?
yeah - what is the Windows Program Name ?
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
kc1di
Level 14
Level 14
Posts: 5331
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by kc1di » Sat Feb 02, 2019 6:33 am

if it will let you click beyond the error and see if it lets you continue the install.
Easy tips : https://easylinuxtipsproject.blogspot.com/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

manoaratefy
Level 1
Level 1
Posts: 22
Joined: Thu Dec 13, 2018 1:58 am
Location: Madagascar
Contact:

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by manoaratefy » Wed Feb 06, 2019 4:35 am

thatsafact wrote:
Sat Feb 02, 2019 2:48 am
I had similar issues, but what EXE are you trying to run?
Something I developed myself.

I might found the issue preventing from wine32 to be installed. I was using deb.sury.org repo to get some custom PHP versions and it seems that the PHP package use libpcre3 which is also used by wine32. But the PHP from deb.sury.org use its own version, incompatible with wine32 from the official repo. I'm trying to remove libpcre3 and replace it with the official version (so, I'll have to reinstall also my custom PHP versions).

User avatar
kc1di
Level 14
Level 14
Posts: 5331
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How to install Wine 32-bit on Linux Mint 19 64-bit ?

Post by kc1di » Wed Feb 06, 2019 7:16 am

That would do it. Hope you can get it sorted - Good Luck.
Easy tips : https://easylinuxtipsproject.blogspot.com/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

Post Reply

Return to “Software & Applications”