How to Install Wine Devel 4.8 in Ubuntu 19.04 / 18.04

May 12, 2019 — 7 Comments

Wine Stable

The new development release Wine 4.8 was released a few days ago. Here’s how to install it in Ubuntu 19.04 and fix unmet dependencies issue.

Wine 4.8 release highlights:

  • Support building most programs in PE format.
  • Unicode data updated to Unicode 12.0.
  • Support for MSI patch files.
  • Default to non-PIC builds on i386.
  • Joystick support improvements.
  • Asturian locale.
  • Various bug fixes.

1. Add Wine apt repository:

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from app menu. When it opens, run following commands one by one.

Add the official Wine repository key via command:

wget -nc && sudo apt-key add winehq.key

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

Then add Wine repository for Ubuntu 19.04:

sudo apt-add-repository 'deb disco main'

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

  • bionic for Ubuntu 18.04, Linux Mint 19.x
  • cosmic for Ubuntu 18.10.
  • xenial for Ubuntu 16.04, Linux Mint 18.x

2. 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 18.10, Ubuntu 19.04.

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

3. Install Wine 4.8:

Finally run command to install Wine 4.8, 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.


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

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

7 responses to How to Install Wine Devel 4.8 in Ubuntu 19.04 / 18.04

  1. THERE IS NO WINEDEVEL for 19.04

  2. Philip “Philo” Kassner June 16, 2019 at 9:21 pm

    Thank you so much!
    Really appreciate the good help.

    Was surprised WINE broke
    when I updated to 19.04

  3. Many thanks, my friend!

  4. Thanks!!!!!You saved me!

  5. enocencio van der Vlist July 3, 2019 at 9:27 pm

    i dont get it. sry im new in this, i installed ubuntu for a webdesign bootcamp i wanna use a handy program only usable for windows.

    i used this command: sudo apt-add-repository ‘deb disco main’

    then i get this:

    Ign:1 ‘’ disco InRelease
    Err:2 ‘’ disco Release
    404 Not Found [IP: 443]
    Reading package lists… Done
    E: The repository ‘ disco 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.

    is it easy to fix ? :s


Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>