Wine-10.2

Introduction to Wine

Wine is a compatibility layer for running Windows programs on Unix.

[Note]

Note

This may take a while to build. Feel free to do something else while this is building.

Wine Dependencies

Wine Dependencies

Installation of Wine

Wine has three build types. Scroll down to the build type you want. Visit Wine Dependencies for more information about each build type.

WoW64

Install WoW64 Wine by running the following commands:

mkdir build-win64 &&
cd    build-win64 &&

../configure --prefix=/usr --enable-win64 &&

make              &&

cd ..             &&
mkdir build-win32 &&
cd    build-win32 &&

PKG_CONFIG_PATH=/usr/lib32/pkgconfig      \
../configure --prefix=/usr                \
             --with-wine64=../build-win64 &&

make

Now, as the root user:

make install      &&
cd ../build-win64 &&
make install

64-bit Only

Install 64-bit only Wine by running the following commands:

mkdir build &&
cd    build &&

../configure --prefix=/usr --enable-win64 &&

make

Now, as the root user:

make install

32-bit Only

[Note]

Note

If you're on 64-bit, invoke PKG_CONFIG_PATH=/usr/lib32/pkgconfig at the beginning of the ../configure command to build for 32-bit.

Install 32-bit only Wine by running the following commands:

mkdir build &&
cd    build &&

../configure --prefix=/usr &&

make

Now, as the root user:

make install

Command Explanations

[Note]

Note

Run ../configure --help for a full list of options.

--with-wine64=../build-win64: This option allows Wine during the compilation stage to use files built in the wine64 stage to enable support for both 32-bit and 64-bit.

Configuring Wine

This installation should be good enough for most people but there may be a few things that you wish to change or do in relation to this package. The Arch Wiki page for Wine covers most of the things you may wish to do. In relation to gaming and Vulkan, you may wish to install DXVK-2.5.3 which converts Direct3D 8-11 calls to Vulkan, unlike WineD3D which converts Direct3D calls to OpenGL in a poor manner and is much slower.

As for Direct3D 12, you may also wish to install VKD3D-Proton-2.14.1 which replaces VKD3D provided by Wine. VKD3D is less aggressive with optimizations and is geared for general use, whereas VKD3D-Proton has aggressive optimizations and is geared towards gaming. Despite the name, it can be used with Wine and works quite well.

The choice of what to install is up to you.

Contents

Installed Programs: msidb, msiexec, notepad, regedit, regsvr32, widl, wine, wine-preloader, wine64, wine64-preloader, wineboot, winebuild, winecfg, wineconsole, winecpp, winedbg, winedump, winefile, wineg++, winegcc, winemaker, winemine, winepath, wineserver, wmc, and wrc
Installed Libraries: Various dynamic and static libraries
Installed Directories: /usr/include/wine/windows, /usr/lib/wine/x86_64-windows, /usr/lib32/wine/i686-unix, and /usr/share/wine

Short Descriptions

msidb

handles MSI databases

msiexec

is the Wine MSI installer

notepad

is the Wine text editor

regedit

is the Wine registry editor

regsvr32

is the Wine DLL Registration Server

widl

is the Wine Interface Definition Language (IDL) compiler

wine

runs Windows programs on Unix

wine-preloader

preloads Win32 binaries

wine64

runs 64-bit Windows programs on Unix

wine64-preloader

preloads 64-bit Windows binaries

wineboot

performs Wine initialization, startup, and shutdown tasks

winebuild

is the Wine dll builder

winecfg

is the Wine Configuration Editor

wineconsole

is the Wine console

wine{cpp,g++,gcc}

is the Wine C and C++ MinGW-w64 Compatible Compiler

winedbg

is the Wine debugger

winedump

is a Wine DLL tool

winefile

is a Wine File Manager

winemaker

generates a build infrastructure for compiling Windows programs on Unix

winemine

is the Wine Minesweeper game.

winepath

is a tool to convert Unix paths to/from Win32 paths

wineserver

is the Wine server

wmc

is the Wine Message Compiler

wrc

is the Wine Resource Compiler