Red Wine in a GlassHow to Install Wine on Ubuntu 19.04CSS HTML Validator Logo
HOME Tutorials & Essays About
Tutorials & Essays About
Ubuntu 19.04 screen shot

How to Install Wine on Ubuntu 19.04

Also applies to the official Ubuntu 19.04 flavors Bugie, Kubuntu, Kylin, Lubuntu, MATE, Studio, and Xubuntu.

This page is no longer maintained.

As of late February 2020, Ubuntu 19.04 is well past end-of-life, but its repositories remain available and the procedure on this page installs the current version of Wine Stable (though not Wine Development). How long this will continue is unknown. In any case, this page is no longer maintained, and upgrading to a supported version of Ubuntu is recommended.

Check installed architectures

Verify 64-bit architecture. The following command should respond with "amd64".

$ dpkg --print-architecture

See if 32-bit architecture is installed. The following command should respond with "i386".

$ dpkg --print-foreign-architectures

If "i386" is not displayed, execute the following.

$ sudo dpkg --add-architecture i386

Recheck with.

$ dpkg --print-foreign-architectures

Add the WineHQ Ubuntu repository.

Get and install the repository key.

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

Add the repository.

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

Update the package database.

$ sudo apt update

Install libfaudio0

Beginning with Wine 5.0, both Wine Stable and Wine Development require amd64 and i386 versions of libfaudio0, but libfaudio0 is not available from the repository. Therefore, libfaudio0 must be downloaded and installed manually. See libfaudio0 special handlingNew Window Icon.

The next two commands download the libfaudio0 .deb packages into the local active directory.

$ wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_19.04/amd64/libfaudio0_20.01-0~disco_amd64.deb

$ wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_19.04/i386/libfaudio0_20.01-0~disco_i386.deb

And these two commands do the installations.

$ sudo apt install ./libfaudio0_20.01-0~disco_amd64.deb
$ sudo apt install ./libfaudio0_20.01-0~disco_i386.deb

When the installations are complete, consider moving the two libfaudio0 .deb files to a permanent location, or just delete them.

Install Wine

The next command will install Wine Stable. If you prefer Wine Development or Wine Staging, replace winehq-stable with either winehq-devel or with winehq-staging.

Update On the most recent test of this procedure since end-of-life, replacing winehq-stable with winehq-devel installed Wine Stable, not Wine Development. It appears that versions of Wine Development are no longer available.

$ sudo apt install --install-recommends winehq-stable

Verify the installation succeeded.

$ wine --version