How to Install Wine 5.12 in Ubuntu 20.04 / Linux Mint 20

July 4, 2020 — 8 Comments

Wine Stable

Wine 5.12 was released a day ago as the latest development release of the compatibility layer allows to run Windows apps on Linux and Mac OS. The official apt repository has made the packages for all current Ubuntu releases.

Wine 5.12 release highlights include:

  • NTDLL converted to PE format.
  • Support for the WebSocket API.
  • Improved RawInput support.
  • Vulkan spec update.
  • Total of 48 bug fixes.

How to Install Wine 5.12 in Ubuntu:

Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application menu. When it opens, run following commands one by one.

1.) Run command to enable 32 bit architecture (if you haven’t already):

sudo dpkg --add-architecture i386

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

2.) Download and install the repository key via command:

wget -O - | sudo apt-key add -

3.) Add wine repository via command (for Ubuntu 20.04 and Linux Mint 20):

sudo apt-add-repository 'deb focal main'

NOTE: You may replace focal in the code with:

  • bionic for Ubuntu 18.04 and Linux Mint 19.x
  • eoan for Ubuntu 19.10

4.) Add PPA for the required libfaudio0 library:

For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is still required to install from a third-party repository by running command:

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

5.) Finally install Wine 5.12 via command:

sudo apt update && sudo apt install --install-recommends winehq-devel

NOTE: installing the latest development release will automatically remove the stable version (if installed).

And for the unmet dependencies issue installing 32-bit libraries, try running command:

sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386

(Optional) After successfully installed Wine 5.12, you may remove the PPAs by launching Software & Updates utility and navigating to Other Software tab.

I'm a freelance blogger who started using Ubuntu in 2007 and wish 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 via [email protected]

8 responses to How to Install Wine 5.12 in Ubuntu 20.04 / Linux Mint 20

  1. Thank you – it worked like a dream for me, with a newly installed Linux Mint 20 Cinnamon, unlike the approach recommended in the Release Notes, which wouldn’t open ancient 32 bit Windows stuff unless I did weird stuff with WINE prefixes. (I’m not a techie and all that looks scary and convoluted.)
    It did ask to install a MONO and two GECKO packages, and recommended that I choose versions best suited to my Linux installation. I ignored that and went for the default packages, which worked just fine.

  2. Thanks a lot, that solved me after upgrade from 19.3 to 20, all already installed software works again without re-installation.

  3. Terimakasi mister. semoga hari-harimu senang.

  4. hi.
    i cant fish installation just like you said.. it keeps saying you have retain broken packages.
    any help please

  5. Hello,

    I did literally all your recommendations from the first instruction till the last one. At the end, nothing happened. Wine is not running in my PC.

    Is it possible some orientation from you?


  6. Hi.
    Thanks for the how-to. After installing, when I tried to start Wine, the following message came up on Terminal. Running Linux Mint 20 Mate.

    0024:err:module:__wine_process_init L”C:\\windows\\system32\\program.exe” not found

    Any suggestions?

  7. thanks a lot.

  8. Perfect. Solved the issue for me. Thank you!

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>