CentOS8: Running Wine 32 Bits?

Home » CentOS » CentOS8: Running Wine 32 Bits?
CentOS 5 Comments

All,
I need to run some legacy Windows software (32 bits) under my Linux box. I have installed wine from the source the 64 bits works fine but not the 32
bits.

The ./configure gives

*checking whether gcc -m32 works… no*

*configure: error: Cannot build a 32-bit program, you need to install
32-bit development libraries.*

and trying to install the require i686 packages results in a

[

*piot@unknown50EB7156B508 wine-4.18]$ sudo dnf install glibc-devel.i686
libgcc.i686 libstdc++-devel.i686 ncurses-devel.i686 Last metadata expiration check: 0:09:26 ago on Sun 22 Dec 2019 07:04:41 AM CST.Package libgcc-8.2.1-3.5.el8.i686 is already installed.Error: Problem: package libxcrypt-devel-4.1.1-4.el8.i686 requires glibc-headers(x86-32) >2.26.9000-46, but none of the providers can be installed – package glibc-devel-2.28-42.el8.1.i686 requires libxcrypt-devel(x86-32) >= 4.0.0, but none of the providers can be installed – package glibc-headers-2.28-42.el8.1.i686 requires kernel-headers, but none of the providers can be installed – package glibc-headers-2.28-42.el8.1.i686
requires kernel-headers >= 2.2.1, but none of the providers can be installed – package glibc-headers-2.28-42.el8_0.1.i686 requires kernel-headers, but none of the providers can be installed – package glibc-headers-2.28-42.el8_0.1.i686 requires kernel-headers >= 2.2.1, but none of the providers can be installed – cannot install the best candidate for the job(try to add ‘–skip-broken’ to skip uninstallable packages or
‘–nobest’ to use not only best candidate packages)*

Thank you for any suggestions. All the best, — Philippe.

5 thoughts on - CentOS8: Running Wine 32 Bits?

  • Hi Philippe,

    To get wine-32 to work on CentOS 7.6 I had to build and install wine 1.8.4 from a tarball.

    Follow the instructions at: https://wiki.winehq.org/Building_Wine

    and build the 64-bit version first, then the 32-bit version.

    Before building either version I installed the following X11 devel pkgs from yum:

    libX11-devel.i686
    libxcb-devel.i686
    libXext-devel.i686

    Depending on your setup on CentOS8 you may need additional X11 devel pkgs, or gecko or others.

    Good luck,

    –Ed

  • Epel8 provides wine, like for 7 but *not* to run 32bits.

    Pablo Greco (CentOS armhfp maintainer) provides some compatible builds
    (and following upstream epel, modified to be built for i686) on his personal space (unsigned packages !) here :
    https://people.CentOS.org/pgreco/wine32.el8/

    Worth knowing that he also shares .spec here :
    https://github.com/psgreco/wine

    Just when writing this mail, I realize that while .spec is at correct
    4.0.3 (so like Epel) the built packages are still at 4.0.2, so I guess he’ll take care of that soon :)

    Cheers,