Getting Wine from the Official Builds PPA

If you're like me and use :wine_glass: Wine for some programs/games, you may wish to install the latest builds to take advantage of the latest fixes and features, as the Ubuntu packages do not update that often for stability reasons.

Adding the Repository

The Wine team announced they'll use their own in-house repository for providing packages for Ubuntu.

The :ubuntu_mate: Software Boutique adds and installs packages from this repository. To do it by hand:

sudo apt-key add Release.key
sudo apt-add-repository ''
rm Release.key

Install the relevant package

The following packages install system-wide:

  • winehq-devel -- latest development release. (e.g. 2.7.0)
  • winehq-stable -- latest stable release. (e.g. 2.0.1)
  • winehq-staging -- based on the staging branch, it's advised to only use this if there is a fix here you need for your application.

Pick the one you desire to use, such as:

sudo apt install winehq-devel

:warning: If wine from the Ubuntu repository is left installed, it will be removed as it conflicts.

Running Wine

Unlike Ubuntu's own package of Wine, the official packages do not integrate Wine into the Applications menu. You'll need to run Wine through the terminal, or add shortcuts yourself.

Here's some commands you may use:

wine explorer
wine taskmgr
wine 'C:\path\to\file'
wine ~/Desktop/setup.exe

Missing Gecko and Mono packages

You may receive a message when the wine prefix is updated about a missing Gecko package and another for Mono. To suppress the messages, install a system-wide package.

Gecko is what allows applications to embed HTML pages.

sudo apt install wine-gecko2.21

Mono is an open source .NET implementation.

sudo apt install wine-mono0.0.8

Note that these versions may change in future, press Tab after the wine- part to auto-complete the version available or use Synaptic to pick the latest package number you can find.


Will this work for the raspberry pi 3?

Nope, unfortunately not. Wine is designed to run on x86 processors and they don’t support the armhf (architecture used in Raspberry Pi) yet.

Ok thanks for your reply. :wink:

Just to confirm that it works fine in Ubuntu Mate 18.04.

I made first the mistake to use the Ubuntu instructions from the website which work well for Ubuntu, but don’t work with Ubuntu Mate. The instructions above then worked.