Wine 2.21 Released! How to Install it via PPA

November 11, 2017

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.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

3 responses to Wine 2.21 Released! How to Install it via PPA

  1. Ricardo de Matos November 12, 2017 at 9:22 am

    Reading package lists… Done
    E: The repository ‘https://dl.winehq.org/wine-builds/ubuntu artful Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

  2. ~$ sudo apt-get update
    Hit:1 “https://dl.winehq.org/wine-builds/ubuntu artful” InRelease
    Hit:2 “http://security.ubuntu.com/ubuntu artful-security” InRelease
    Hit:3 “http://us.archive.ubuntu.com/ubuntu artful” InRelease
    Hit:4 “http://us.archive.ubuntu.com/ubuntu artful-updates” InRelease
    Ign:5 “http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful” InRelease
    Hit:6 “http://us.archive.ubuntu.com/ubuntu artful-backports” InRelease
    Err:7 “http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful” Release
    404 Not Found
    Reading package lists… Done
    E: The repository ‘http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    • You must have added the old Wine Team PPA. Remove it either via “Software & Updates -> Other Software”, or run command in terminal:

      sudo add-apt-repository --remove ppa:ubuntu-wine/ppa