Wine Dependencies

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 19. Wine Preliminaries

- Prev

  What is Wine?

- Next

  The MinGW-w64 Toolchain

- Up
- Home

# Wine Dependencies

Wine has four build formats and depending on what build you want, you will have to pay attention to what you install and its format.

The four build types are: WoW64, old WoW64, 64-bit, and 32-bit. 32-bit and 64-bit are self-explanatory, but both WoW64 types need explanation. WoW64 is a compatibility layer created by Microsoft when applications and computers were becoming 64-bit. This layer allows users to emulate 32-bit Windows applications on a 64-bit CPU. For Wine, this has the same premise; it allows you to run both 32-bit and 64-bit Windows apps and games on x86_64. However, there are two WoW64 types.

The first one is the newer and default WoW64 architecture. All you need are 64-bit libraries and both the x86_64 and i686 MinGW-w64 toolchains. The older architecture uses 32-bit libraries to bring the 32-bit support. It is in opposition to a goal the desktop has been moving towards: full 64-bit, leaving 32-bit libraries behind. So the new architecture was developed to satisfy it.

The WoW64 option can be a good choice, and if you go with that route, you won't need MLFS at all, or any 32-bit libraries from this book, unless you want or already have installed Steam. With that, you only need to do the normal installations of each package, and for the MinGW-w64 toolchain, you still have to install both the x86_64 and i686 toolchains.

If you have an issue with the newer WoW64 architecture or trust the older system more, you will then need both the 64-bit and lib32 variants of each package, along with the x86_64 and i686 MinGW-w64 toolchains.

For pure 64-bit, follow the instructions normally and skip the lib32 instructions. When you install the MinGW-w64 toolchain, you can just follow the x86_64 instructions.

For pure 32-bit, follow only the lib32 instructions. When you reach MinGW-w64, follow the i686 instructions. However, for the sake of continuing onto BLFS, it is recommended to do the normal installations as well, save for MinGW-w64. Along with that, Wine may need programs from the given set of packages and this installation method is not tested without the normal 64-bit installations.

Required
Audio (alsa-plugins-1.2.12 and/or PulseAudio-17.0), D-Bus-1.16.2, Display server (Xorg-Server-21.1.21 or Wayland-1.24.0 w/ Xwayland-24.1.9), Fontconfig-2.17.1, FreeType-2.14.1, GnuTLS-3.8.12, libunwind-1.8.3 (if 64-bit/WoW64; not used by Wine 32-bit), libglvnd-1.7.0, and MinGW-w64-GCC-15.2.0
Recommended

- GStreamer-Suite-1.28.1: Allows consuming and working with multimedia such as music and videos. Most games and some software work without it, although some will need it for WMA decoding.

- sdl2-compat-2.32.64: For input handling and other features.

- Vulkan-SDK-1.4.341.0: For Vulkan support.

Optional
libcapi, Cups, gphoto2, Samba, SANE, Kerberos, smbclient, OCL-ICD-2.3.4, libpcap, libusb, and v4l-utils

- Prev

  What is Wine?

- Next

  The MinGW-w64 Toolchain

- Up
- Home