Install Wine 6 on Ubuntu 20.04

3
785
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.

Install 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

Install Wine 6 on Ubuntu 20.04

You can now install Wine 6 on Ubuntu 20.04 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.

That brings us to the end of our guide on how to install Wine 6 on Ubuntu 20.04.

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

3 COMMENTS

  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 REPLY

Please enter your comment!
Please enter your name here