How to Install Wine 4.13 in Ubuntu 18.04, Ubuntu 19.04

Last updated: August 6, 2019

Wine 1.8 PPA

The new development release Wine 4.13 was released a few day ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04.

Wine 4.13 release highlights:

  • Support for Passport HTTP redirects.
  • A bunch of header updates.
  • Various bug fixes.

How to Install Wine 4.13 in Ubuntu:

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run following commands to download and install the key:

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

Type user password (no asterisk feedback) when it prompts and hit Enter.

2. Then add Wine repository for Ubuntu 19.04:

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

For other Ubuntu releases, replace disco in the code with:

  • bionic for Ubuntu 18.04, Linux Mint 19.x

3. Install unmet dependence: faudio

The wine devel package requires libfaudio0 library which is not available in Ubuntu repositories.

As a workaround, run command to add the third-party PPA, which offers the packages for Ubuntu 18.04, Ubuntu 19.04.

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

4. Finally run command to install Wine 4.13, which will automatically install the required libfaudio0 libraries.

sudo apt install --install-recommends winehq-devel

Once installed, run winecfg to bring up the configuration window and check Wine version.

Uninstall:

Open Software & Updates and navigate to Other Software tab. Then remove the PPA, and Wine apt repository lines.

To remove Wine devel package, run command:

sudo apt remove --auto-remove winehq-devel

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to remind me outdated tutorial! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

6 responses to How to Install Wine 4.13 in Ubuntu 18.04, Ubuntu 19.04

  1. Es ist vielleicht einfacher, wenn alle Schritte als “root” gemacht werden;-)
    (Ubuntustudio 19.04)

  2. I use Windows and Linux OS’, but I’m a Linux Lover forever and your post its very useful. Congrats…

  3. Abhay Prajapati October 17, 2019 at 4:36 pm

    repository isnt available

  4. This is great thanks

  5. for whatever reason, all of the many, many errors are never resolved. It is very demoralizing to see “Resolved!!!!” or “Solved!!!” on the search engine results when I search for an answer. It seems like I am asking a group of elitist snobs for an answer for insider information when I am not allowed into “the club”. I’m not lazy, I’m not asking for a handout. I just thought you may want to know what it feels like to get snubbed when searching for an answer. Maybe you already know…

  6. Hi,

    I am struggling to install wine so that i can run microsoft office.

    Please help.

    Tom