Install Wine 6 on Ubuntu 20.04

|
Last Updated:
|
|
install-wine-6-ubuntu-20.04

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
wine:
  Installed: (none)
  Candidate: 5.0-3ubuntu1
  Version table:
     5.0-3ubuntu1 500
        500 http://ke.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://ke.archive.ubuntu.com/ubuntu 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 - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Install the repository;

sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ 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
wine-6.0

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

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

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
koromicha
I am the Co-founder of Kifarunix.com, 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.

    Reply
  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…

    Reply

Leave a Comment