Gernot Walzl

Wine

Wine executes Windows applications on Linux.

Contents

Multiarch

Most Windows applications (especially older ones) are built for the 32-bit
microprocessor architecture (i386). To execute 32-bit applications,
the underlying operating system needs to support this architecture.
To enable the installation of software packages for the i386 architecture,
execute the following command:

sudo dpkg --add-architecture i386
sudo apt update

Installation

Drivers

Some 32-bit applications, like games, require graphics acceleration.

If the proprietary Nvidia driver is used,
install the libraries for the i386 architecture:

sudo apt install nvidia-driver-libs:i386

If the generic GL library is used,
install the library for the i386 architecture:

sudo apt install libgl1:i386

Wine

The following command installs 32-bit and 64-bit variants of wine:

sudo apt install wine wine32:i386 wine64

Mono

Download wine-mono for .NET applications:

MONO_VERSION='9.4.0'
sudo mkdir -p /usr/share/wine/mono
sudo wget -O "/usr/share/wine/mono/wine-mono-${MONO_VERSION}-x86.msi" \
  "https://dl.winehq.org/wine/wine-mono/${MONO_VERSION}/wine-mono-${MONO_VERSION}-x86.msi"

Winetricks

Winetricks is used to easily install Windows-native DLLs.

sudo apt install winetricks

Sometimes, native DirectX DLLs improve graphics quality and rendering speed.
DXVK translates Direct3D 8/9/10/11 calls to Vulkan.
VKD3D uses Vulkan for Direct3D 12.

winetricks d3dx9 d3dx10 dxvk vkd3d

Execution

To execute a 32-bit Windows application, change to the application directory
and call wine with the Windows executable as parameter:

cd '/mnt/ntfs/games/My Game'
wine MyGame.exe
CONTENT.html source 2025-08-28 3.4 KB