How to Install Wine 5.0 Stable in Ubuntu 18.04, 19.10

Last updated: April 22, 2024

Wine Stable

Wine 5.0 stable was released 2 days ago with a large number of improvements. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.10 (fix dependenices).

Wine 5.0 is dedicated to the memory of Józef Kucia, who passed away in August 2019 at the young age of 30. Józef was a major contributor to Wine’s Direct3D implementation, and the lead developer of the vkd3d project. His skills and his kindness are sorely missed by all of us.

UPDATE 2024: This tutorial is oudated! Please see this new one instead of current Ubuntu releases!

Wine 5.0 features:

  • Builtin modules in PE format.
  • Multi-monitor support.
  • XAudio2 reimplementation.
  • Vulkan 1.1 support.

How to Install Wine 5.0 in Ubuntu:

The official wine apt repository has made the packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

To get out of WINE DEPENDENCY HELL:

I’ve successfully installed Wine 5.0 in Ubuntu 19.10 via following steps without any dependency issue.

Ubuntu 18.04 however run into unmet dependencies issue even after purging graphics drivers PPA, kisak-mesa PPA, etc. And sudo aptitude install wine-stable command output hundreds of package conflicts with no workaround.

THANKS to lutris, I’ve finally got out of the Wine Dependency hell in Ubuntu 18.04 by 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

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

1.) Run command to enable 32 bit architecture:

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 -nc https://dl.winehq.org/wine-builds/winehq.key; sudo apt-key add winehq.key

3.) Add wine repository via command (for Ubuntu 19.10):

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

NOTE: You may replace eoan in the code with:

  • bionic for Ubuntu 18.04 and Linux Mint 19.x
  • xenial for Ubuntu 16.04 and Linux Mint 18.x

4.) Add PPA for the required libfaudio0 library:

For Ubuntu 18.04, Linux Mint 19.x, and Ubuntu 19.04 only, as higher Ubuntu releases already have libfaudio0 in the main repositories.

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

5.) Finally install Wine 5.0 stable via command:

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

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

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 let me know if the tutorial is outdated! 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

118 responses to How to Install Wine 5.0 Stable in Ubuntu 18.04, 19.10

  1. Hi Jim,
    I would like to run ubuntu more often but i don’t know the code and also some windows programs i still like.
    I ran your code to install wine 5.0 and it seemed to work but how do i find it on my system and run it.
    i am wanting to install MS Publisher and MS Money and a few other small programs.
    Thank you
    Erik

  2. i am getting the following text when i run step 3 through terminal and can’t seem to install due to this:


    Get:5 ‘http://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease’ [15.4 kB]
    Err:5 ‘http://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease’
    The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 241FE6973B765FAE
    Get:10 ‘http://archive.ubuntu.com/ubuntu bionic-backports InRelease’ [74.6 kB]
    Reading package lists… Done
    W: GPG error: ‘http://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease’: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 241FE6973B765FAE
    E: The repository ‘http://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease’ is not signed.
    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.

    • Nothing to do with Wine repository, you may either remove ‘http://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease’ via Software & Updates -> Other Software, or manually install the repository key for the appgrid PPA.

  3. I Tried To Install The sdl2-backport Backport
    but it times out i can not install wine 5.0
    it says i have unmet dependencies
    please Jim If you could get back to me it would be much appreciated
    the winehq team said it has made a mistake
    with the libfaudio0 dependency and is working to fix it
    wine 5.0 may install fine in Eoan Ermine i,am sure it does but 18.04 Bionic Beaver it does not install
    because libfaudio0 is not available
    i install that package though and found it somewhere
    but still can not install wine

    • I did install Wine 5.0 successfully in Ubuntu 18.04. I got unmet dependencies too, however fixed after purging mesa PPA, graphics drive ppa, and 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

      And sdl2-backport Backport PPA is required. Just add the PPA (step 4.)) and leave it there. libfaudio0 will be installed automatically as dependency while installing winehq-stable.

      • how do i purge mesa PPA, graphics drive ppa thanks

        • First install ppa-purge:

          sudo apt install ppa-purge

          Then run command to purge graphics driver PPA (For other PPA, replace ppa:graphics-drivers/ppa):

          sudo ppa-purge ppa:graphics-drivers/ppa

  4. Graham Nicholls January 25, 2020 at 2:40 am

    fails at this step 2.)

    with

    /$ wget -nc https://dl.winehq.org/wine-builds/winehq.key; sudo apt-key add winehq.key
    –2020-01-25 13:38:00– https://dl.winehq.org/wine-builds/winehq.key
    Resolving dl.winehq.org (dl.winehq.org)… 151.101.2.217, 151.101.194.217, 151.101.130.217, …
    Connecting to dl.winehq.org (dl.winehq.org)|151.101.2.217|:443… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 3220 (3.1K) [application/pgp-keys]
    winehq.key: Permission denied

    Cannot write to ‘winehq.key’ (Success).
    gpg: can’t open ‘winehq.key’: No such file or directory

    18.04 Ubuntu

    • Seems to be permission issue. DON’T login as root! And run cd command to switch back user home.

      cd
  5. I’d like to give this a try but one question:

    Concerning step 4. “Add PPA for libfaudio0 library”, is this step necessary for Linux Mint 19.3 Cinnamon Kernel 5.3 ?

  6. dpkg: ошибка: неизвестный параметр –add-архітектура

    Такуое пишет терминал. У меня на компютере две операционки- Widows -Linux ubuntu 18.04 Windows10 64 Такое пишет терминал.Справка по установке и удалению пакетов доступна по команде dpkg –help [*];
    Программа «apt» или «aptitude» предоставляет дружественный интерфейс
    управления пакетами;
    Чтобы получить список значений флагов отладки dpkg, введите dpkg -Dhelp;
    Чтобы получить информацию об игнорировании проблем, введите dpkg –force-help;
    Чтобы получить справку по работе с файлами *.deb, введите dpkg-deb –help;
    Как исправить и установить на Linux?

    Команды, отмеченные [*], выводят большое количество информации.
    Объедините их в конвейер с программами «less» или «more»!

  7. Ricardo Alcantara January 27, 2020 at 9:01 pm

    Perfect, I tried to follow the wine instruction but was having a error:

    winehq-stable : Depends: wine-stable (= 5.0.0~bionic)

    and this line fixed it.

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

  8. Ребята, спасибо!
    Guys, thanks!

  9. Many thanks for this – have now been able to successfully upgrade in Xubuntu 18.04.

  10. just a young linux nigga January 31, 2020 at 7:58 am

    this got me out of wine dependency hell on 18.04 bionic. thx mate.

  11. Thanks, this solved a real frustration. had been looking through Synaptic to find ‘broken packages’ and got nowhere even after removing everything and trying re-installs. Much appreciated. Paul H

  12. Hi, In my case old package openjdk8 (with Gantt Project package) blocked instalation of wine…

  13. It works~~!!! Thank you.

  14. The sdl2-backports is needed to meet the libfaudio0 dependency on Ubuntu 19.10 too

  15. Thank you so much!!

  16. Great article.
    I was struggling with this.
    Thanks

  17. Good tutorial! Thanks installed with it.

  18. Worked like a charm in PoP! OS 19.10. Thank you very much for the information. :)

  19. You are a lifesaver; thank you. Yeah, I could’ve sworn something was up with Wine — and now I know what’s up.

  20. Hellooo!!! :DDD
    I am so happy this worked! I wanted to install Dual Boot again with Windows 7 after been using Ubuntu 18.4 for like 3-6 months now – been loving it, but I decided to play one game..
    I am still in progress trying to make it run, but at least now my WINE is working, thank you!
    But I was not able to make a partition to install my win 7 to make room on my Ubuntu OS, but I think I could have also done is another ubuntu installation – but a live try session..
    Anyways wish me luck now, I have already spent my whole Sunday on this -,-

  21. ok man, but the arch selection should be reverted back to normal after installing wine?

  22. TYVM I get a warm fuzzy fealing when I get solutions to problems like these from ppl.

  23. Thank you for getting me out of that hell.

  24. Hi.. Mr. J im.
    I already succes install wine 5.0 on Ubuntu 18.04 but still having the problem when I want to install an application by right click “Open With Wine Windows Program Loader” always get error message “File not Found”. Why and how to fix the problems. Thank You.

    • Ok.. Mr. Ji m and all visitor here… just reporting : “after reinstall Ubuntu 18.04 and following step by step – how to install wine 5.0 here, finally wine 5.0 working normally for me. So thank so much.

  25. Thank you very much, it works.
    Dam out of the wine hell installation. :)

  26. Hi
    Sorry I am a complete noob to ubuntu but I’m trying hard. I get the following error at stage 3, what am I doing wrong.
    sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main’
    E: Malformed entry 58 in list file /etc/apt/sources.list (Component)
    E: The list of sources could not be read.

    Thanks for any help

  27. OMG, it works!!! Thank you so much! Ubuntu 18.04

  28. Thank you for this post!

  29. Solved for Linux Mint 19.x with libfaudio0… Thank you.

  30. Thank you very much!!!

  31. You are my personal hero for today, thanks a ton! Was finally able to upgrade from Wine 3.x to 5.0 on Lubuntu 18.04! Thanks :D Stay healthy!

    • I have passed a few hours without success trying to install wine on lubuntu bionic beaver, 18.04

      I have followed your instruction but I reached:

      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      winehq-stable : Depends: wine-stable (= 5.0.1~bionic)
      E: Unable to correct problems, you have held broken packages.

      And if I am trying to install this package I get:
      sudo apt-get install wine-stable
      Reading package lists… Done
      Building dependency tree
      Reading state information… Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      wine-stable : Depends: wine-stable-i386 (= 5.0.1~bionic)
      E: Unable to correct problems, you have held broken packages.

      Which is where the problem seem to become unsolvable:
      sudo apt-get install wine-stable-i386
      Reading package lists… Done
      Building dependency tree
      Reading state information… Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      wine-stable-i386:i386 : Depends: libfaudio0:i386 but it is not going to be installed
      Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
      Recommends: libfontconfig1:i386 but it is not going to be installed
      Recommends: libsane:i386 or
      libsane1:i386 but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.

      In spite of having added the repositroy for libfaudio0:

      using the following command
      sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

      however the i386 might be a problem? And what about other dependencies?!

  32. Hi Jim – I do not enter the third command [$ sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/bionic main’
    E: Malformed entry 53 in list file /etc/apt/sources.list (Component)
    E: Source lists could not be read.]
    The same if I type your command line [$ 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
    E: Malformed entry 53 in list file /etc/apt/sources.list (Component)
    E: Source lists could not be read.]

    • This has nothing to do with installing Wine. You have broken lines in the sources.list file. Try removing 3 party PPA repositories (Software & Updatess -> Other Software tab), or editing the line 53 in the /etc/apt/sources.list file.

      • Thanks for your help, just delete the PPA and go without a problem. The problem now is that the system treats * .exe files as compressed and doesn’t install anything as if it wasn’t WINE, I think I’m too old for such fun.

  33. I have the following error that prevents me from installing Wine:

    sudo apt install –install-recommends winehq-stable
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies.
    winehq-stable : Depends: wine-stable (= 5.0.0~bionic)
    E: Unable to correct problems, you have held broken packages.

    Any suggestions would be welcome

    • SAME HERE

      • Check the command before step 1.

        • I have closed the Terminal window now but the other commands were as per the Wine website and were obeyed without comment. Should I re-try and post details?

        • I ran that command, still did not work..i guess we wait for a further iteration?

    • I’m having the same error

    • Domingos Lequechane June 24, 2020 at 7:17 pm

      I’m using Linux Mint 19.3 and I’m having an error similar to this one, I already looked for help in forums but even with that, I can’t solve it.

      The following packages have unmet dependencies:
      winehq-stable : Depends: wine-stable (= 5.0.1~eoan)
      E: Unable to correct problems, you have held broken packages.

  34. Thank you so much <3

  35. Thank you

  36. Marc Erickson April 8, 2020 at 2:36 am

    Wow. Novice here. I just ran “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”

    And it borked most things. Mouse, keyboard, window manager, gdebi… I can’t mount any drives and can’t even open a terminal, much less type into it.

    So thanks for the opportunity to reinstall and clean out some of the crap from the failed program installations I’ve had in the past. Although I really rather would have liked to have chosen when I reinstalled rather than having it forced upon me.

  37. I’m having problems after installing as per your instructions on Ubuntu 18.04. Problem seems to be to do with libavcodec-extra:
    root@JohnPC:/home/john# apt -a list –upgradeable
    Listing… Done
    libavcodec-extra/bionic,bionic 7:4.1.3-0ppa1~18.04 all [upgradable from: 7:3.4.6-0ubuntu0.18.04.1]
    libavcodec-extra/bionic-updates,bionic-updates,bionic-security,bionic-security,now 7:3.4.6-0ubuntu0.18.04.1 all [installed,upgradable to: 7:4.1.3-0ppa1~18.04]
    libavcodec-extra/bionic,bionic 7:3.4.2-2 all

    If I try to install it using Synaptic, it higjhlights problems on dependencies before I do the Apply (i.e. actually do the install of that package).

  38. I posted a problem concerning libavcodec-extra. But it doesn’t show after a browser refresh. So I posted it again which gave duplicate comment. Is it posted?

  39. I’m new on Ubuntu
    Where is the ‘like’ button?

  40. YOU ARE AMAZING!! Thanks!!

  41. Wow !! Thank you so much

  42. I’ve purged wine and cyberdexter ppa: went Ok.
    I then started again at the beginning using your instructions. All went well (wine –version shows 5.0) except at end “6 not to upgrade”. According to apt there are 5 packages:
    root@JohnPC:/home/john# apt list –upgradeable
    Listing… Done
    ffmpeg/bionic 7:4.1.3-0ppa1~18.04 amd64 [upgradable from: 7:3.4.6-0ubuntu0.18.04.1]
    libasound2/bionic-updates 1.1.3-5ubuntu0.5 amd64 [upgradable from: 1.1.3-5ubuntu0.4]
    libasound2-data/bionic-updates,bionic-updates 1.1.3-5ubuntu0.5 all [upgradable from: 1.1.3-5ubuntu0.4]
    libavcodec-extra/bionic,bionic 7:4.1.3-0ppa1~18.04 all [upgradable from: 7:3.4.6-0ubuntu0.18.04.1]
    libchromaprint1/bionic 1.4.3-3~bionic1 amd64 [upgradable from: 1.4.3-1]
    Should I force an upgrade of these 5 packages?

  43. The following packages have unmet dependencies:
    winehq-stable : Depends: wine-stable (= 5.0.0~bionic)
    E: Unable to correct problems, you have held broken packages

    getting this error at the last step while installing wine

  44. Thanks for this. Have slight problem however. The install all seemed to go ok – no errors that i spotted. However, when i query wine version i get:

    rcain@rcain-green-pc:~$ wine –version
    ERROR: ld.so: object ‘/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    wine-5.0

    after googling/reading about, i then tried also:

    sudo apt-get install libgtk3-nocsd0:i386
    – all ok

    – but same error comes up when querying wine version.

    i am using Ubuntu 18.04, BUT with Unity desktop running rather than Gnome.

    any suggestions?

    very many thanks.

  45. Chia lun Hsiao April 18, 2020 at 3:53 am

    Jim,
    Thanks for sharing the tips for installing wine5.0 and it susessed!

  46. Thank you so much, You are a Genius!, Very useful.

  47. when you change the ‘eoan’ with ‘bionic’ in “sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'” you need to delete the PPA of ‘eoan’ and after this you can follow with “sudo apt update && sudo apt install –install-recommends winehq-stable”

    That work for me

    Sorry for my bad english

  48. how to use wine stable?
    wine-stable is not working after installlagtion

  49. Ji m Thank you for another great tutorial I always enjoy them as they are clear and a reliable source of info

  50. Pasquale Pellicani May 3, 2020 at 7:00 pm

    with ubuntu 19.10 don’t work

  51. The following packages have unmet dependencies:
    winehq-stable : Depends: wine-stable (= 5.0.0~eoan)
    E: Unable to correct problems, you have held broken packages.

    how to fix ????????

  52. You’re the one! Thank you!!!

  53. OMG! I love you man! Wine – ughh: I hate that I have to use it. I hate it even more that it never seems to work – but you made a miracle happen for me.

  54. this is a totaly normal name May 6, 2020 at 1:34 am

    How to remove all the things that got installed after following this tutorial?

  55. Denimir Kanchev May 9, 2020 at 6:22 pm

    After few hour hard work and noting work ,this help my in may case . Thank you a lot Ji m. You save the situation today :)

  56. thanks for the blog, i have running out error as run as admin while installing whasapp. please help me to get out of this issue

  57. Julie Lindfors May 14, 2020 at 6:16 am

    I never ran any ubuntu before 19.10 so none of the upgrade issues apply to me.
    I keep getting the following error messages
    E: The repository ‘http://ppa.launchpad.net/tualatrix/ppa/ubuntu eoan 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.
    E: The repository ‘http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu eoan 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.
    I thought I did add ppa file multiple times but for some reason Firefox kept defaulting all downloads to “home” and now everything is a tangled mess.
    I NEED to run wine because all the messing with partitions fried windows and all I have is Ubuntu…I was really loving it till lately

    • Go to Software & Updates > Other Software tab, remove the repository lines mentioned in the output as they are no longer maintained.

  58. Thank You

  59. how to do for 64 bit?

  60. Thank you Ji m (and lutris) for gtting me out of dependancy hell. I had started to regret removing wine 3 and could not re-install it.
    wine –version
    wine-5.0
    Yay :-)

  61. worked like a charm! you’re a hero!

  62. thnk you sir.

  63. unable 32bits Open GL Libraires and cannot find xterm, how to fix it?

  64. thanks ji m

  65. A Linux Newbie June 7, 2020 at 9:56 am

    I don’t usually comment on the internet but i just gotta write this one. Thanks alot man! :) it really worked

    I used to have wine installed but i decided to do a clean install of linux since i downloaded alot of stuff that i eventually didnt need (using console so.. i felt lost on how to “clean” it) and i felt like a reset was the cleanest thing to do. when i tried installing wine i kept getting that dependency error

    something2 “winehq-stable : Depends: wine-stable (= 5.0.1~bionic)”

    This post helped me alot :) thanks again

  66. Can’t find system needs for that so the question is:
    Does this work for Lubuntu 18.04 too?

  67. Newby, tried to get Lubuntu 18.04 to work on an obselete laptop.
    Can’t find issues for minimal system needs for Wine, so my question is:
    Does this method work voor Lubuntu 18.04?

  68. thanks for the comment before step 1 :)

  69. Crikey Ji, that did the trick. Ubuntu 18.04 and I could not get wine installed until I found this article and followed the howto. Well done :)

  70. I am using UBUNTU 18.04 and I was having problems with package dependecies!
    But know I figured out this problem following your guide.

    Thank you so much!

  71. Jens Eckervogt July 4, 2020 at 4:43 pm

    Grrr why does it always throw error like held broken packages :(

    I really don’t understand . Please make serious! For me failed failed like other fucking repository to fail….
    :( :(
    https://imgur.com/xrm6W7P

    I have tried = No successfully :/ :( I am disappointed….

  72. Hi Jim,

    your post has been very helpful.

    Can you start another post to show how to completely uninstall wine 5.0? It is blocking me from upgrading to Ubuntu 20.

    Many Thanks

  73. Hi Jim thnx for the tutorial but how do i access bootloader on my PC so that i can duo boot Ubuntu with Windows

  74. Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    winehq-stable : Depends: wine-stable (= 5.0.1~xenial)
    E: Unable to correct problems, you have held broken packages.

    Please help me to resolve this.
    Everytime i get this same error message.
    And i have been trying this since morning.

  75. Note this is the third time I’ve tried this and I started from scratch again.

    I followed all the instructions to the letter, copy and paste, and still get this error:

    The following packages have unmet dependencies:
    winehq-stable : Depends: wine-stable (= 5.0.1~eoan)
    E: Unable to correct problems, you have held broken packages.

    Why does it require wine-stable, wouldn’t that be part of the install in the first place from the winehq repositories or do I need to install wine-stable first?

    argh.

    I’ll see if I can figure this out.

    I appreciate your hard work on this but it’s not working for my HP 17 running Ubuntu Gnome 19.10.

  76. Hi,

    How do i uninstall installed applications via wine.

  77. Hi Jim,

    I am receiving these errors..
    root@debian:/home/mohammadmishary# WINEPREFIX=~/.wine/office2019 WINEARCH=win32 winecfg
    wine: created the configuration directory ‘/root/.wine/office2019’
    No protocol specified
    No protocol specified
    0050:err:explorer:initialize_display_settings Failed to query current display settings for L”\\\\.\\DISPLAY1″.
    0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0048:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0048:err:ole:apartment_createwindowifneeded CreateWindow failed with error 183
    0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
    0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
    0050:err:ole:get_local_server_stream Failed: 80004002
    0048:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
    0048:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
    0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7
    0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
    0048:err:ole:get_local_server_stream Failed: 800736b7
    002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0058:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0058:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0060:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    Could not find Wine Gecko. HTML rendering will be disabled.
    wine: configuration in L”/root/.wine/office2019″ has been updated.
    0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0024:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
    root@debian:/home/mohammadmishary#

  78. Need help: error at step 4 –
    404 Not Found [IP: 91.189.95.83 80]
    Reading package lists… Done
    E: The repository ‘http://ppa.launchpad.net/inameiname/stable/ubuntu bionic 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.

    *** Can you please help how to fix? thank you.

  79. brett hetherington August 27, 2020 at 7:43 am

    cant find or use wine after following your steps.not in menu using tricia 19.3.
    it says its installed from software manager. typing wine into terminal
    Usage: wine PROGRAM [ARGUMENTS…] Run the specified program
    wine –help Display this help and exit
    wine –version Output version information and exit.
    but how to run program???

  80. Hi Ji!

    These instructions worked great for me! Thank you! I do think to simplify the installation instead of changing the release name for the winehq repository line, just use lsb_release -sc instead.

    sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ ‘$(lsb_release -sc)’ main’

  81. Ji
    Thank you very much. Should have said that a while ago. I have used your tutorials several times and this has worked as the others have, GREAT!

    Keep up the tutorials, They are much appreciated.
    Kev

  82. Been following your blog for a while. You are a warrior. Have a problem. I installed Wine 5.0 as instructed above on Ubuntu 18.04. Then, I installed a Windows App that I need to teach an online course, which requires usage of my camera and mic. While my audio seems to work, the application cannot find my webcam drivers. Any tips? I am on an Aspire 5 Machine Ubuntu/Win10 dual boot.

  83. hi
    i have been successfully downloaded and install wine. but when i try to open .exe file in wine it gives me the error log file 0x80072ee6 (null). Please tell me how can i solve this issue?
    Thanks

  84. You save my life, really thank you.
    It works on ubuntu 18.04

  85. tested on :
    Distributor ID : Zorin
    Description : Zorin OS 15.3
    Release : 15
    Codename : bionic