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

Wine Stable

The new wine development version 5.22 was released a day ago. Here’s how to install it in Ubuntu 20.04, Ubuntu 20.10.

Wine 5.22 release highlights:

  • C runtime libraries converted to PE.
  • Use fontconfig cache for faster startup.
  • Video playback improvements.
  • 3DES cipher support.

There are also various bug-fixes to programs including Rome Total War, Cobra 11 Nitro, Rainbow Six, Age Of Empires III, Call of Duty, WinRar, Black Ops 4, and more.

How to Install Wine 5.22 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 haven’t already):

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 - | 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:

  • 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 5.22 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).

Uninstall wine:

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

To remove wine 5.22, run command in terminal:

sudo apt remove --auto-remove winehq-devel

By Ji m

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 remind me outdated tutorial! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via Buy me a coffee:


  1. Hey, I updated wine on my ubuntu 20.04. Have you tried to install iTunes on ubuntu 20.04? If you know how to do it, please help me

  2. Always, always, always when I attempt to update the repository I get unresolvable errors because the repositories are not updated. For this very example of installing WINE:
    sudo apt-add-repository ‘deb groovy main’
    and invariably I get errors, here’s one of many:
    Hit:5 groovy-updates InRelease
    Err:6 artful Release
    404 Not Found [IP: 80]


    Reading package lists… Done
    E: The repository ‘ artful 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 ‘ 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.

    and I have no idea how to overcome these errors that prevent the application from being installed.

    1. I saw “groovy-updates” (Ubuntu 20.10), artful (Ubuntu 17.10), and ‘ bionic Release’ (for Ubuntu 20.04). So which Ubuntu edition running on your machine?

      Try open Software & Updates, navigate to Other Software tab, remove or disable all third-party repositories and run sudo apt update to refresh your system package cache.

      For your Ubuntu edition and code-name, run command: lsb_release -rc

  3. I resolved the problem ( winehq-staging : Depends: wine-staging (= 6.3~groovy-1)) with these steps:
    1. Installed Aptitude (so to have some help when dependencies are problematic)
    2. In terminal “wine –version”
    It told me that wine isn’t found, but can be installed and it gave me two commands to choose:
    sudo apt install wine # version 5.0-3ubuntu1
    sudo apt install wine-development # version 5.5-5ubuntu1
    3. I chose the second one and typed:
    sudo apt install wine-development
    4. Then I decided to check the version by typing:
    wine –version
    5. And it shown me this:
    it looks like wine32-development is missing, you should install it.
    as root, please execute “apt-get install wine32-development”
    wine-5.5 (Ubuntu 5.5-5ubuntu1)
    6. And that’s what I did. Typed as root:
    apt-get install wine32-development
    So it installed a lot of libraries i386 included etc.
    7. Then I returned to where I stopped at the final command “sudo apt install –install-recommends winehq-stable” because I had this problem with dependencies and I decided to try it again. Typed:
    sudo apt install –install-recommends winehq-stable
    8. And then I checked my wine version on Ubuntu 20.10 and it was 6.0. Yey. I’m not sure weather that is the final version of wine for Ubuntu 20.10, but it is the latest I could install.

Comments are closed.

Exit mobile version