Wine Dependencies

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

The three build types are: 32-bit, 64-bit, and WoW64. 32-bit and 64-bit are self-explanatory, but WoW64 needs 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. Knowing this, a Wine WoW64 build can be explained as a build type that allows the user to execute Windows 32-bit and 64-bit applications.

If you are on 32-bit, follow the instructions normally for each dependency, and when you reach the MinGW-w64 section of this chapter, follow the i686 instructions.

If you are on 64-bit and don't want a WoW64 build, follow the instructions normally and skip the lib32 instructions. When you reach the MinGW-w64 section, follow only the x86_64 instructions.

If you are on 64-bit and want a 32-bit only build, follow only the lib32 instructions. When you reach MinGW-w64, follow the i686 instructions.

And finally, if you are on 64-bit and want a WoW64 build, follow all the instructions on the dependency pages unless instructed otherwise or are presented with options.

Required

Audio (alsa-plugins-1.2.12 and/or PulseAudio-17.0), dbus-1.14.10, Display server (Xorg-Server-21.1.13 or Wayland-1.23.1 w/ Xwayland-24.1.2), Fontconfig-2.15.0, FreeType-2.13.3 - Pass 2, GNAT-14.2.0, GnuTLS-3.8.7.1, libunwind-1.6.2 (if 64-bit), MinGW-w64-GCC-13.2.0, OpenGL (libglvnd-1.7.0 and/or Mesa-24.2.2), and What Now?

Recommended

gstreamer (gstreamer is not included in this book yet due to its wide variety of recommended dependencies. If you are on multilib and want a 32-bit or WoW64 build, you must install 32-bit variants of the dependencies if they provide a library, and when compiling gstreamer, use the native toolchain file from Meson Toolchain Files. Do this this for the Base and Good plugins as well), OSMesa from Mesa-24.2.2 (compiled using the -Dosmesa=true option), SDL2-2.30.7, and Vulkan-Loader-1.3.295

Optional

libcapi, Cups, gphoto2, SANE, Kerberos, smbclient, OpenCL, libpcap, libusb, and v4l-utils