You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

What are the steps to install Wine 5 on Ubuntu 20.04?. For those new to Wine, it is an open source software created to enable Linux users run Microsoft Windows applications. Wine 5 is the latest stable release of Wine available for installation and it contains a large number of improvements which includes but not limited to:

  • Builtin modules in PE format.
  • Multi-monitor support.
  • XAudio2 reimplementation
  • Vulkan 1.1 support.
  • Initial support for the Print Ticket API.
  • Removal of the obsolete 32-bit PowerPC architecture.
  • Wine Mono engine updated to 5.1.0, with WpfGfx library support.
  • Beginnings of a NetIO kernel driver implementation.
  • And many more new features

Install Wine 5 on Ubuntu 20.04

The installation of Wine 5 on Ubuntu 20.04 is a straightforward process as all packages are provides in Wine repository.

Step 1: Enable 32 bit architecture

But before installation we need to enable enable 32 bit architecture if running on a 64-bit system. This is achieved by running the command below.

sudo dpkg --add-architecture i386

Step 2: Download and add the repository key:

Install wget if not present in your system.

sudo apt update
sudo apt -y install software-properties-common wget

Then download and add repository key:

wget -qO - | sudo apt-key add -

You should receive “OK” in the output.

Step 3: Add the Wine repository

After importing the key, proceed to add repository.

sudo apt-add-repository 'deb focal main'

Command execution output:

Get:1 focal InRelease [6,257 B]
Get:2 focal/main amd64 Packages [54.9 kB]               
Hit:3 focal-security InRelease                                                          
Get:4 focal/main i386 Packages [56.4 kB]                  
Hit:5 focal InRelease
Hit:6 focal-updates InRelease
Hit:7 focal-backports InRelease
Fetched 118 kB in 1s (80.5 kB/s)
Reading package lists... Done

Step 4: Install Wine 5 on Ubuntu 20.04 Linux

With the repository ready we can install Wine 5 on our Ubuntu 20.04 Linux machine.

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

Be informed that a good number of packages will be installed. This may take sometime if you have weak internet connection:

The following packages will be upgraded:
1 upgraded, 266 newly installed, 0 to remove and 6 not upgraded.
Need to get 271 MB/271 MB of archives.
After this operation, 1,807 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

After the package has been installed, Check your version once the Wine installation is complete:

$ wine --version

Step 5: Using Wine 5 on Ubuntu 20.04

For command line guys the wine tool can be invoked directly on the terminal.

$ wine

Accessing help page:

$ wine --help

Install test application like Notepad++


Use wine to install your downloaded .exe application.

wine npp.7.8.8.Installer.exe

Agree to install Mono and Gecko packges.

Then begin your application installation using Wine.

The application can be launched like any other Linux application after installation.

Running Notepad++ application.

This confirms Wine 5 has been installed successfully on Ubuntu 20.04.

More on Ubuntu:

Install Cinnamon Desktop Environment on Ubuntu 20.04

Install Deepin Desktop Environment on Ubuntu 20.04

Install Kubernetes Cluster on Ubuntu 20.04 with kubeadm

How To Install Ajenti Control Panel on Ubuntu 20.04

You can support us by downloading this article as PDF from the Link below. Download the guide as PDF