Install WINE-devel in Linux

WINE development versions can bring better compatibility and higher levels of compatibility for native Windows executables Here’s how to install the latest WINE on Linux.

Please refer to the official WINE install reference as well.

Install WINE repo key

wget -nc

apt-key add winehq.key

Assuming Ubuntu 20.04:

apt-add-repository 'deb focal main'

Install winehq-devel or winehq-stable.

apt install --install-recommends winehq-devel

Note: --install-recommends is important or you’ll get lots of errors messages on trying to install. This installs WINE under /opt

Get the latest Winetricks script:

cd ~

when you want to use Winetricks to install libraries:


Which WINE versions are available?

You can see which WINE versions are available with

apt-cache policy winehq-devel
apt-cache policy winehq-stable