Wine 6.0 Released, How to Install it in Ubuntu 20.04, 20.10

January 16, 2021 — 18 Comments

Wine Stable

Wine 6.0 stable was released 2 days ago as the new major release to run Windows applications in Linux, Mac OS, and BSD. Now you can install it in Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10 via the official apt repository.

Wine 6.0 features:

  • Core modules implemented in PE format.
  • An experimental Vulkan renderer for WineD3D
  • DirectShow and Media Foundation support.
  • Text console redesign.
  • An initial USB kernel driver
  • Various Vulkan support improvements
  • And more, see announcement.

How to install Wine 6.0 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 steps one by one.

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

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

2.) Install the repository key by running command:

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

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

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

NOTE: You have to replace focal in the code with:

  • hirsute for Ubuntu 21.04.
  • groovy for Ubuntu 20.10.
  • bionic for Ubuntu 18.04 and Linux Mint 19.x

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

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

5.) Finally install Wine 6.0 via command:

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

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.0, run command in terminal:

sudo apt remove --auto-remove winehq-stable

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 notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

18 responses to Wine 6.0 Released, How to Install it in Ubuntu 20.04, 20.10

  1. Herbert Groot Jebbink January 17, 2021 at 5:11 am

    Hi, thanks for the blog, I get below error.

    I’m running Ubuntu 20.10 inside Crostini (the Linux VM from ChromeOS)

    [email protected]:~$ 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 (= 6.0.0~groovy-1)
    E: Unable to correct problems, you have held broken packages.

    • same…
      Maybe cause i ve already wine 5.0 ?

      • It was successfully installed in my case in Groovy. Try installing the package via aptitude.

        First install aptitude package manager via command:

        sudo apt install aptitude

        Then install wine via aptitude, it will output the package conflict and print solutions

        sudo aptitude install winehq-stable

  2. Hi
    I am running linux mint 20.0
    I followed the instructions in your blog
    sudo apt update && sudo apt install –install-recommends winehq-stable

    This was my last of several attempts where I tried various options all of which gave the same error message at the end
    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 resolve the situation:

    The following packages have unmet dependencies:
    winehq-stable : Depends: wine-stable (= 6.0.0~focal-1)
    E: Unable to correct problems, you have held broken packages.
    [email protected]:~$ sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main’
    [sudo] password for user1:
    [email protected]:~$ sudo apt update && sudo apt install –install-recommends winehq-stable


    Fetched 112 kB in 4s (27.2 kB/s)
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    9 packages can be upgraded. Run ‘apt list –upgradable’ to see them.
    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 resolve the situation:

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

    $ wine –version
    Command ‘wine’ not found, but can be installed with:
    sudo apt install wine-development
    sudo apt install wine-stable

    Sorry for the long message but I’m not sure what is unimportant

    • You’re running Linux Mint 20 (based on Ubuntu 20.04) but apt update outputs you were fetching package info from bionic (Ubuntu 18.04).

      A little confused! While running apt update in Linux mint 20, it should out some lines with focal, focal-updates, focal-security etc. And Linux Mint 19.x will output repository lines with bionic, bionic-updates. bionic-security, etc.

      1. First run command to tell your Linux Mint edition.

      cat /etc/issue

      2. Then open Software Sources and go to Additional Repositories tab.

      Click edit the Winehq repository and change from:

      deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main

      To: deb https://dl.winehq.org/wine-builds/ubuntu/ focal main for Linux Mint 20,

      or to deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main for Linux Mint 19.x.

      And finally update & install wine:

      sudo apt update
      sudo apt install winehq-stable
  3. Alexsandro Silva January 23, 2021 at 12:12 pm

    Great

  4. Use this code please:

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

  5. broda from africa February 17, 2021 at 5:52 pm

    hello there i am running ubuntu 20.4
    after i run this command
    sudo apt update && sudo apt install –install-recommends winehq-stable
    i get
    nehq-stable
    Hit:1 http://tr.archive.ubuntu.com/ubuntu focal InRelease
    Hit:2 http://tr.archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:3 http://tr.archive.ubuntu.com/ubuntu focal-backports InRelease
    Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease
    Hit:5 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
    Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease
    Hit:7 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    3 packages can be upgraded. Run ‘apt list –upgradable’ to see them.
    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 (= 6.0.0~groovy-1)
    E: Unable to correct problems, you have held broken packages.

    what can i do to fix this ? thank you

  6. Thanks Ji m,
    Open “Open Software & Updates utility” worked!

  7. this information is wrong wget -O – https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add – should be wget qO

  8. I’m sorry to ask when so much people seem to have the same problem, and sorry that it is in french, but I translated what’s important below this paragraph, but it does not disappear after editing into anyone of the 3 ‘main’ (focal/groovy/bionic).

    [email protected]:~$ cat /etc/issue
    Ubuntu 18.04.2 LTS \n \l

    Atteint = hit
    Ign = ?
    Réception = Receipt/receiving
    The ending message does exactly mean what broda from africa wrote.

    [email protected]:~$ sudo apt install winehq-stable
    Lecture des listes de paquets… Fait
    Construction de l'arbre des dépendances
    Lecture des informations d'état… Fait
    Certains paquets ne peuvent être installés. Ceci peut signifier
    que vous avez demandé l'impossible, ou bien, si vous utilisez
    la distribution unstable, que certains paquets n'ont pas encore
    été créés ou ne sont pas sortis d'Incoming.
    L'information suivante devrait vous aider à résoudre la situation :

    Les paquets suivants contiennent des dépendances non satisfaites :
    winehq-stable : Dépend: wine-stable (= 6.0.0~bionic-1)
    E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

    Thank you in advance for anyone who could help me.

    • Firstly make sure you have added the PPA for libfaudio dependency library.

      If still get the dependency issue, installing following libraries may help:

      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

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> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.