Install Wine 6 on Ubuntu 20.04

Last Updated:

Wine 6.0 has just been released! Follow this tutorial to learn how to install Wine 6 on Ubuntu 20.04.  Wine (Wine INot an Emulator) is a free and open-source software which provides the ability to run Microsoft Windows applications and computer games to run on POSIX-compliant Operating Systems, such as Linux, MacOS and  BSD.

According to Wine announcement page, Wine 6.0 is now available. It comes with quite a number of bug fixes that you can read about on on the change log page.

Installing Wine 6 on Ubuntu 20.04

Install Official Wine Repository

Wine is provided by the default Ubuntu universe repos. However, Wine 5.0 is the latest available version;

apt-cache policy wine
  Installed: (none)
  Candidate: 5.0-3ubuntu1
  Version table:
     5.0-3ubuntu1 500
        500 focal/universe amd64 Packages
        500 focal/universe i386 Packages

In order to be able to install Wine 6, you need to install the Official Wine repository as shown below;

Install Wine repository signing key.

wget -qO - | sudo apt-key add -

Install the repository;

sudo add-apt-repository 'deb focal main'

Update the package cache;

apt update

Enable 32-bit System Support on Ubuntu 20.04

Before you can install Wine, you need to enable 32-bit system support.

sudo dpkg --add-architecture i386

Installing Wine 6 on Ubuntu 20.04

You can now install Wine 6 on Ubuntu by running the command below;

apt install --install-recommends winehq-stable

Verify Wine Installation

Run the command below to check installed WIne version as a way to verify its installation;

wine --version

Reboot System

You can now run system reboot to ensure that Wine environment is setup;

systemctl reboot

You can start using Wine on Ubuntu 20.04 as you so wish.

Further Reading

WineHQ Wiki

Other Tutorials

Install Wine 6 on Debian 10

Install Wine 4 on CentOS 8

How to Install Wine 4.0 on Debian 9.8


We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
I am the Co-founder of, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

3 thoughts on “Install Wine 6 on Ubuntu 20.04”

  1. I get the following:

    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.

  2. Thanks for the tutorial.

    – a few “sudo”s are lacking in the commands you provide.
    – rebooting is a windows thing… Totally useless in the case of installing wine as it does not changes anything related to the kernel…


Leave a Comment