What are the steps to install Wine 6 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 6 is the latest stable release of Wine available for installation and it contains a large number of improvements which includes but not limited to:

  • Vulkan backend for WineD3D
  • DirectShow and Media Foundation support
  • Text console redesign
  • USB kernel driver
  • Mouse position history
  • Plug & Play device notifications
  • WebSocket API
  • Initial support for Apple Silicon

Install Wine 6 on Ubuntu 20.04

The installation of Wine 6 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 - https://dl.winehq.org/wine-builds/winehq.key | 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 https://dl.winehq.org/wine-builds/ubuntu/ focal main'

Command execution output:

Get:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease [6,257 B]
Get:2 https://dl.winehq.org/wine-builds/ubuntu focal/main amd64 Packages [54.9 kB]               
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease                                                          
Get:4 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages [56.4 kB]                  
Hit:5 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Fetched 118 kB in 1s (80.5 kB/s)
Reading package lists... Done

Step 4: Install Wine 6 on Ubuntu 20.04 Linux

With the repository ready we can install Wine 6 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 6 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++

wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.8.8/npp.7.8.8.Installer.exe

Use wine to install your downloaded .exe application.

wine npp.7.8.8.Installer.exe

Agree to install Mono and Gecko packges.

install wine mono ubuntu
install wine gecko ubuntu

Then begin your application installation using Wine.

install wine ubuntu linux 03

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

install wine ubuntu linux 03 1

Running Notepad++ application.

install wine ubuntu linux 05

This confirms Wine 6 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

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here