Wine-10.6

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   \
             --disable-tests \
             --enable-win64 &&

make              &&

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

PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
../configure --prefix=/usr           \
             --disable-tests         \
             --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   \
             --disable-tests \
             --enable-win64 &&

make

Now, as the root user:

make install

32-bit Only

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

mkdir build &&
cd    build &&

PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
../configure --prefix=/usr --disable-tests &&

make

Now, as the root user:

make install

Command Explanations

[Note]

Note

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

--disable-tests: This parameter disables building tests. As of now with GCC-15.x.x, tests are broken [14], so this parameter is a requirement for the time being.

--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.6.1 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: function_grep.pl, msidb (link to wine), msiexec (link to wine), notepad (link to wine), regedit (link to wine), regsvr32 (link to wine), widl, wine, wineboot (link to wine), winebuild, winecfg (link to wine), wineconsole (link to wine), winecpp (link to winegcc), winedbg (link to wine), winedump, winefile (link to wine), wineg++ (link to winegcc), winegcc, winemaker, winemine (link to wine), winepath (link to wine), 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

function_grep.pl

is a Perl script that does the same job as grep

msidb

handles MSI databases; symlink to wine

msiexec

is the Wine MSI installer; symlink to wine

notepad

is the Wine text editor; symlink to wine

regedit

is the Wine registry editor; symlink to wine

regsvr32

is the Wine DLL Registration Server; symlink to wine

widl

is the Wine Interface Definition Language (IDL) compiler

wine

runs Windows programs on Unix

wineboot

performs Wine initialization, startup, and shutdown tasks; symlink to wine

winebuild

is the Wine DLL builder

winecfg

is the Wine Configuration Editor; symlink to wine

wineconsole

is the Wine console; symlink to wine

wine{cpp,g++,gcc}

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

winedbg

is the Wine debugger; symlink to wine

winedump

is a Wine DLL tool

winefile

is a Wine File Manager; symlink to wine

winemaker

generates a build infrastructure for compiling Windows programs on Unix

winemine

is the Wine Minesweeper game; it is also just an example and not meant to be an accurate implementation of Minesweeper; symlink to wine

winepath

is a tool to convert Unix paths to/from Win32 paths; symlink to wine

wineserver

is the Wine server

wmc

is the Wine Message Compiler

wrc

is the Wine Resource Compiler



[14] With the dwrite component, the regression test for it is broken with GCC-15.x.x as a C runtime, the MSVCRT (MicroSoft Visual C RunTime) DLL this package compiles, does not export trunc{,f,l}. Newer GCC lowers the reference to floor. So this reference cannot be found, breaking the test compilation and making this package to FTBFS. Further reading here.