Wine Stable 6.0.1 Released! How to Install it in Ubuntu

Last updated: September 12, 2021

Wine 6.0.1, the open-source compatibility layer to run Windows apps on Linux, was released as the first point release in the 6.0 stable series.

The release contains mainly bug-fixes, translation updates, and Documentation updates. It also adds a new feature: supporting for wine64 on Apple M1.

A total of 63 bugs has been fixed in the release for the Windows apps or games including Dark Sector, Earth 2160, Shadow Warrior 2, The Elder Scrolls V, The Witcher 3, Adobe Audition 2020, World of Tanks, iTunes 12.11.0.26, and more. See the release note for details.

How to Install Wine 6.0.1 in Ubuntu:

Wine has its own apt repository for Ubuntu, Linux Mint based systems. Open terminal from system app launcher. When it opens, run following commands 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

Note there’s A BLANK SPACE before the code name (e.g., focal, groovy, hirsute, bionic) in each command!

  • For Ubuntu 20.04, Linux Mint 20.x, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  • For Ubuntu 20.10, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
  • For Ubuntu 18.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  • For 21.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

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.1 via command:

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

If you get unmet dependency issue, try aptitude command instead (DO check what it is going to install/uninstall before type y to confirm):

sudo apt install aptitude && sudo aptitude install winehq-stable

Still getting unmet dependency issue? Try running command to manually install some missing libraries. The command worked in my Ubuntu 20.04.

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

Uninstall wine:

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

To remove wine 6.0.1, 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 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 ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

16 responses to Wine Stable 6.0.1 Released! How to Install it in Ubuntu

  1. This is the error message I get when trying to add the ‘Hirsute’ repository.

    Err:2 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
    The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    Reading package lists… Done
    W: GPG error: https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    E: The repository ‘https://dl.winehq.org/wine-builds/ubuntu hirsute 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.

    • Please do step 2.). It will output OK once the key is properly installed.

      • Khaleeq Ur Rahman July 22, 2021 at 4:47 am

        i do 2nd step but is not installed

      • Khaleeq Ur Rahman July 22, 2021 at 4:48 am

        sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 68980A0EA10B4DE8
        Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
        Executing: /tmp/apt-key-gpghome.lMEWwyTCe7/gpg.1.sh –keyserver keyserver.ubuntu.com –recv-keys 68980A0EA10B4DE8
        gpg: key 68980A0EA10B4DE8: public key “Stefano Karapetsas (MATE) ” imported
        gpg: Total number processed: 1
        gpg: imported: 1
        gpg: invalid key resource URL ‘/tmp/apt-key-gpghome.lMEWwyTCe7/home:manuelschneid3r.asc.gpg’
        gpg: keyblock resource ‘(null)’: General error
        gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
        gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
        gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
        gpg: key A684470CACCAF35C: 1 signature not checked due to a missing key
        gpg: key 767B5F350F20116F: 1 signature not checked due to a missing key
        gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
        gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
        gpg: Total number processed: 16
        gpg: skipped new keys: 16

        ┌──(khaleeq㉿khaleeq)-[~]
        └─$ 1 ⨯

        this will show me after adding keys

  2. inteli5@inteli5-desktop:~$ sudo apt update && sudo apt install –install-recommends winehq-stable
    Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
    Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
    Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
    Hit:5 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
    Hit:6 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    All packages are up to date.
    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.1~hirsute-1)
    E: Unable to correct problems, you have held broken packages.
    inteli5@inteli5-desktop:~$sudo apt install aptitude && sudo aptitude install winehq-stable
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    aptitude is already the newest version (0.8.12-1ubuntu4).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    The following NEW packages will be installed:
    gstreamer1.0-plugins-base:i386{a} libatomic1:i386{a}
    libavahi-client3:i386{a} libavahi-common-data:i386{a}
    libavahi-common3:i386{a} libblkid1:i386{a} libbrotli1:i386{a}
    libbz2-1.0:i386{a} libcairo2:i386{a} libcap2:i386{a} libcapi20-3{a}
    libcapi20-3:i386{a} libcdparanoia0:i386{a} libcups2:i386{a}
    libcurl3-gnutls:i386{a} libdrm-amdgpu1:i386{a} libdrm-intel1:i386{a}
    libdrm-nouveau2:i386{a} libdrm-radeon1:i386{a} libdrm2:i386{a}
    libedit2:i386{a} libelf1:i386{a} libexif12:i386{a} libexpat1:i386{a}
    libfontconfig1:i386{a} libgd3:i386{a} libgdbm-compat4:i386{a}
    libgdbm6:i386{a} libgl1:i386{a} libgl1-mesa-dri:i386{a}
    libglapi-mesa:i386{a} libglib2.0-0:i386{a} libglu1-mesa:i386{a}
    libglvnd0:i386{a} libglx-mesa0:i386{a} libglx0:i386{a}
    libgphoto2-6:i386{a} libgphoto2-port12:i386{a} libgpm2:i386{a}
    libgsm1:i386{a} libgssapi-krb5-2:i386{a}
    libgstreamer-plugins-base1.0-0:i386{a} libgstreamer1.0-0:i386{a}
    libieee1284-3:i386{a} libjbig0:i386{a} libjpeg-turbo8:i386{a}
    libjpeg8:i386{a} libk5crypto3:i386{a} libkeyutils1:i386{a}
    libkrb5-3:i386{a} libkrb5support0:i386{a} liblcms2-2:i386{a}
    libllvm11:i386{a} libltdl7:i386{a} libmount1:i386{a} libmpg123-0:i386{a}
    libmysqlclient21:i386{a} libncurses6:i386{a} libnghttp2-14:i386{a}
    libodbc1{a} libodbc1:i386{a} libopenal1:i386{a} libopus0:i386{a}
    liborc-0.4-0:i386{a} libosmesa6{a} libosmesa6:i386{a} libpcap0.8:i386{a}
    libpci3:i386{a} libpciaccess0:i386{a} libpcre2-8-0:i386{a}
    libpcre3:i386{a} libperl5.30:i386{a} libpixman-1-0:i386{a}
    libpsl5:i386{a} librtmp1:i386{a} libsane:i386{a} libselinux1:i386{a}
    libsensors5:i386{a} libsndio7.0:i386{a} libsnmp35:i386{a}
    libssh-4:i386{a} libtheora0:i386{a} libtiff5:i386{a} libtinfo6:i386{a}
    libudev1:i386{a} libusb-1.0-0:i386{a} libuuid1:i386{a} libv4l-0:i386{a}
    libv4lconvert0:i386{a} libvisual-0.4-0:i386{a} libvkd3d1{a}
    libvkd3d1:i386{a} libvulkan1:i386{a} libwebp6:i386{a} libx11-xcb1:i386{a}
    libxcb-dri2-0:i386{a} libxcb-dri3-0:i386{a} libxcb-glx0:i386{a}
    libxcb-present0:i386{a} libxcb-randr0:i386{a} libxcb-render0:i386{a}
    libxcb-shm0:i386{a} libxcb-sync1:i386{a} libxcb-xfixes0:i386{a}
    libxcomposite1:i386{a} libxdamage1:i386{a} libxpm4:i386{a}
    libxshmfence1:i386{a} libxslt1.1:i386{a} libzstd1:i386{a}
    mesa-vulkan-drivers:i386{a} ocl-icd-libopencl1:i386{a} wine-stable{ab}
    wine-stable-amd64{ab} wine-stable-i386:i386{ab} winehq-stable
    0 packages upgraded, 116 newly installed, 0 to remove and 0 not upgraded.
    Need to get 215 MB of archives. After unpacking 1,584 MB will be used.
    The following packages have unmet dependencies:
    wine-stable : Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is installed
    wine-stable-i386:i386 : Depends: libc6:i386 (>= 2.33) but 2.31-0ubuntu9.2 is installed
    Depends: libfaudio0:i386 (>= 20.11) but it is not going to be installed
    wine-stable-amd64 : Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is installed
    Depends: libfaudio0 (>= 20.11) but it is not going to be installed
    The following actions will resolve these dependencies:

    Keep the following packages at their current version:
    1) wine-stable [Not Installed]
    2) wine-stable-amd64 [Not Installed]
    3) wine-stable-i386:i386 [Not Installed]
    4) winehq-stable [Not Installed]

    Accept this solution? [Y/n/q/?] y
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.

    inteli5@inteli5-desktop:~$
    Doesn’t work. Nothing works. It’s getting ridiculous. Follow everything exactly and it never works.

    • Hi, you seems to running Ubuntu 20.04 Focal, but it try to install Wine for Hirsute (ubuntu 21.04).

      Search for and open Software & Updates utility. Then go to Other Software tab, highlight the line ‘https://dl.winehq.org‘ and click on Edit button. Finally change ‘Distribution’ value from hirsute to focal.

      Then refresh package cache via sudo apt update command, and finally try again.

  3. It doesn’t work on ubuntu 20.04

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

  4. I made the same error with Mint 20.2 and also unable seem to undue the 3 Hirsute dependencies back to Focal.

  5. Thanks Man!

  6. I ran the aptitude and it says:
    (Reading database … 452956 files and directories currently installed.)
    Removing libkf5filemetadata-bin:amd64 (5.68.0-0ubuntu1) …
    Removing catdoc (1:0.95-4.1) …
    Removing ubuntu-desktop (1.450.2) …
    Removing ubuntu-desktop-minimal (1.450.2) …
    Removing gnome-control-center (1:3.36.5-0ubuntu2) …
    Removing colord (1.4.4-2) …

    This looks really bad. Removing ubuntu-desktop. For now, everything is working. But I am not sure what happens after I reboot the system.

  7. Well, I reinstalled ubuntu-desktop package before reboot (it was missing, and system started to act weird), and now it is working.

    However, the problem is that aptitude is dangerous. It could really harm your system.

  8. I have ubuntu 20.04. After the steps that you described to install wine 6.0.1,

    wine –version

    got the reply:

    wine-6.0.2

    I have a windows program called Gustav_42a_64Bit.exe that is most important for me and that worked perfectly with wine for ages (I think, more than two decades). On

    wine Gustav_42a_64Bit.exe

    I now get the following:

    0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

    002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
    0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

    (Before that, I tried wine 5.0. With that version, there was no error message but the program did not start. Just nothing happened. Trying wine 6.0 then led to the above.)

    • Sorry, I can’t help for this specific issue, you may ask at https://forum.winehq.org/. Though, as you said it was working good. I would suggest to open configuration via command:

      winecfg
      
      Then try setting an old Windows version.
  9. Congratulations; worked fine for me. Of course I removed any prior attempts with purge, rm -rf to be sure I was starting with fresh install your solution.

    Thank you,
    Oldman “?”

    How old ….. approaching or exceeding OK,TX, and other bordering States speed-limit above 75