Red Wine in a GlassHow to Install Wine on Ubuntu 20.04 LTSCSS HTML Validator Logo
HOME Tutorials & Essays About
Tutorials & Essays About
Ubuntu 20.04 screen shot

How to Install Wine on Ubuntu 20.04 LTS

and on Linux Lite 5, Pop!_OS 20.04, UbuntuDDE 20.04 LTS

Also applies to the official Ubuntu 20.04 flavors Bugie, Kubuntu, Kylin, Lubuntu, MATE, Studio, and Xubuntu.

As of June 7, 2020, the native terminal commands
    $ sudo apt install wine
    $ sudo apt install wine-development
installed Wine 5.0 and Wine 5.5, respectively. At the same time, the procedure on this page for installing winehq-stable, winehq-devel, or winehq-staging yielded Wine 5.0.1 (stable), Wine 5.10 (development), and Wine 5.10 (Staging), respectively. Take your pick.

Check installed architectures

Verify 64-bit architecture. The following command should respond with "amd64".

$ dpkg --print-architecture

See if 32-bit architecture is installed. The following command should respond with "i386".

$ dpkg --print-foreign-architectures

If "i386" is not displayed, execute the following.

$ sudo dpkg --add-architecture i386

Recheck with.

$ dpkg --print-foreign-architectures

Add the WineHQ Ubuntu repository.

Get and install the repository key.

$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key

Add the repository.

$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

Update the package database.

$ sudo apt update

Install Wine

The next command will install Wine Stable. If you prefer Wine Development or Wine Staging, replace winehq-stable with either winehq-devel or with winehq-staging.

Before proceeding, you may wish to revisit the information in the yellow panel at the top of this page.

$ sudo apt install --install-recommends winehq-stable

Verify the installation succeeded.

$ wine --version