WINE 4 brings better Microsoft Office compatibility and via a better architecture, higher levels of compatibility for native Windows executables than ever. 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 https://dl.winehq.org/wine-builds/winehq.key apt-key add winehq.key
assuming you’re on Ubuntu 18.04:
apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
apt install --install-recommends winehq-devel
--install-recommendsis important or you’ll get lots of errors messages on trying to install. This installs WINE under
get the latest Winetricks script:
cd ~ wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
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