• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How to Install Wine 5.12 in Ubuntu 20.04

How to Install Wine 5.12 in Ubuntu 20.04

By Sourabh / July 5, 2020 Category: How To, Ubuntu

How to install Wine 5.12 in Ubuntu 20.04 and other Linux Ubuntu Systems. We will also see how to install Wine dependencies – wine unmet dependencies.

The Wine development release 5.12 is now available. It comes with the following changes:

  1. NTDLL converted to PE format.
  2. Support for the WebSocket API.
  3. Improved RawInput support.
  4. Vulkan spec update.
  5. Various bug fixes.

Bugs fixed in 5.12 (total 48):

  1. 4905 Video intros fail to play in Grand Theft Auto 3
  2. 10825 Adobe Photoshop 7 “Save File” dialog contents shifted to left
  3. 19439 Windows Media Player 9 displays a distorted user interface
  4. 20230 Multiple system information tools and debuggers need GetThreadTimes() to return correct values for all threads (SIV System Information Viewer, Ollydbg 1.x/2.x, x64dbg)
  5. 30023 Google Chrome/Earth installer (Google update version) complains “could not connect to the internet”
  6. 30366 Wing commander 4 fails to play videos
  7. 33134 Windows Media Player 9 can’t play winecfg’s test sound (idw_testsound.wav)
  8. 35170 Adobe Shockwave Player 11.x plugin installer crashes on startup
  9. 37630 Very fast audio & crackly (underruns) with PulseAudio 5, not with 4
  10. 37721 Notepad2 shows blacked out toolbar strip after switching out of transparent mode
  11. 37892 GOTHIC 2 GOLD: Vdfs32e.exe crashes at startup
  12. 40643 Xanadu-next: Multicolored rainbow textures
  13. 43034 Battle.net (needed for Starcraft 2 Legacy of the Void) crashes
  14. 44017 Battle.net fails launch with windows 7, but works normally when windows xp (Ubuntu 17.10)
  15. 44865 Multiple applications using CEF (Autodesk Fusion 360, Between, League of Legends) crash when Windows version is set to 8 or higher due to missing DirectManipulation COM object (directmanipulation.dll, CLSID {54e211b6-3650-4f75-8334-fa359598e1c5})
  16. 45191 winedbg: Internal crash at 0x7f1e5ee35587
  17. 46289 Movies in emergency 3 are upside-down with native I420 codecs
  18. 46726 Dirt Rally 2.0 does not use embedded CA cert
  19. 46818 PS4 Remote Play 2.x (.NET 4.x app) crashes on Sign-In PlayStation network (mshtml:HTMLDocument_get_cookie should not fail for ‘about:blank’)
  20. 46883 CompressonatorGUI 3.1 fails to install in Win10 mode: ‘This application cannot be installed on systems earlier than Windows 2000 SP4.’
  21. 48138 League of Legends 9.23: Crash after champ select
  22. 48181 Donald duck couak attack crashes
  23. 48668 rFactor2 – Physics thread slower on multiplayer mode
  24. 48763 X2: The Threat crashes after opening
  25. 48884 64-bit SierraChart v2068, 2072, 2074 crashes on exit
  26. 48938 Ashes of the Singularity: Escalation crashes on start
  27. 48959 S-Gear 2 installer does not recognize wine as Windows 10
  28. 48997 Riot Vanguard (Riot Games) ‘vgk.sys’ crashes in driver entry (needs more reasonable CR0 register values in instruction emulation)
  29. 49007 StarCitizen freezes on start
  30. 49041 Path of Exile flickers with multithreaded renderer
  31. 49098 Divinity: Original Sin 2 (GOG): Doesn’t start since 5.7
  32. 49153 Wine-Mono 5.0.0 breaks rendering of ReactOS’ Wine .NET Framework 4.0 test app main menu
  33. 49247 Need For Speed Hot Pursuit 2 (2002) Slow Performance on wine-5.9
  34. 49307 Melodyne 5: crashes when launched (due to vcruntime140_1)
  35. 49350 Silverlight 5.1 installer no longer works
  36. 49358 MiniTool MovieMaker setup crashes on unimplemented function ADVAPI32.dll.RegEnableReflectionKey
  37. 49425 “wine” command changes the working directory when given a path to a .exe
  38. 49427 Grim Dawn broken after upgrade to Wine 5.11
  39. 49439 Printing and scanning software for Brother L2540DW fails to install (VBScript parser can’t handle a “case else” statement with a comment and no statements to execute)
  40. 49444 TheHunter: Call of the Wild crashes at start with Wine 5.11
  41. 49445 Generation Zero: FNIX Rising crashes at start with Wine 5.11
  42. 49458 Memu installer crashes: wine: Call from 0x7b00f0b7 to unimplemented function qdvd.dll.DllRegisterServer, aborting
  43. 49460 where.exe is missing in wine (affects Waves Central )
  44. 49462 uninitialized request bytes in server request launched from wine_ntoskrnl_main_loop
  45. 49464 Age of Wonders: Planetfall crashes at start with Wine 5.11
  46. 49488 uninitialized bytes in server call from ntdll/server_write_file
  47. 49494 Branching on uninitialized variables in unix_to_win_locale.
  48. 49503 Page fault on prefix creation on macOS

Install Wine 5.12 in Ubuntu 20.04

Run the following commands in terminal to install Wine 5.12 in Ubuntu 20.04 and other Ubuntu Derivatives:


sudo apt-get update
sudo apt-get upgrade
sudo dpkg --add-architecture i386
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
sudo apt-get update
sudo apt install --install-recommends winehq-devel

For installing Wine on other Ubuntu versions, you will have to replace the sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'” focal word with the Ubuntu version name. bionic for Ubuntu 18.04 and eoan for Ubuntu 19.10.

For different Ubuntu version use the corresponding command:

  • For Ubuntu 20.04 sudo add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ focal main’
  • For Ubuntu 19.10 sudo add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main’
  • For Ubuntu 18.04 or Linux Mint 19.x sudo add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’
  • For Ubuntu 16.04 or Linux Mint 18.x sudo add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main’

Also note that if you have previously used the distro packages, you will notice that Wine files are installed to /opt/wine-devel, opt/wine-stable, or /opt/wine-staging (depending on which version you installed).

Dependency Errors

If your package manager complains about unmet dependencies when trying to install Wine, work your way backwards. Try installing whatever package your package manager complains has unmet dependencies, see what your it complains about, then try to install that. Keep working your way backwards until you solve whatever is blocking everything else.

To solve wine dependencies error, run:


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

A common problem on Ubuntu-based system is having installed a PPA version of a library that is newer than what is available in the standard repository.

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap