Wine 2.21 Released! How to Install it via PPA

Wine Stable

The Wine development 2.21 was released earlier today. Here’s how to install it in Ubuntu via its official repository.

Wine 2.21 features:

  • Still more metafile support in GdiPlus.
  • Indirect draws support in Direct 3D.
  • Calling convention fixes on ARM.
  • Improved serial port detection on Linux.
  • Services fixes on WoW64.
  • Better DPI scaling in the Shell Explorer.
  • And a total of 16 bug-fixes, see here for details.

How to Install Wine 2.21 in Ubuntu / Linux Mint:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Linux Mint 17.x and 18.x, open terminal via Ctrl+Alt+T and run following commands one by one:

1. Add the official wine repository via command:

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

For Linux Mint 18.x, use following command instead to add the repository:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

For Linux Mint 17.x, replace xenial in the code with trusty.

2. Install the GPG key to be able to receive software updates:

wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key

3. Finally update and install the latest Wine development release:

sudo apt-get update

sudo apt-get install --install-recommends winehq-devel

Uninstall:

To remove wine dev release, simply run command in terminal:

sudo apt-get remove --autoremove winehq-devel

And you can remove the repository via Software & Updates utility under Other Software tab.

Source