How to install Wine on Ubuntu 20.04 LTS

In this article, we will see how to install Wine on Ubuntu 20.04 LTS.

With the help of Wine, you can run Windows software on a Linux system. Wine 5.0.3 is the latest stable version available for the installation on Ubuntu systems.

Steps to install Wine on Ubuntu 20.04 LTS

1. The systems running with the 64-bit architecture needs to enable 32-bit architecture.

sudo dpkg --add-architecture i386

How to install Wine on Ubuntu 20.04 LTS

2. Download and add the repository key to your system.

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

3. Enable the Wine apt repository in your system.

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

4. Install Wine on Ubuntu

sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' [For Ubuntu 20.04] sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' [For Ubuntu 18.04 ] sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' [For Ubuntu 16.04]

Please enter y when you are prompted with a y/n option for installation. After that, the Wine application will be installed and ready for use.

5. Then run the following command to check the wine version installed on your Ubuntu.

wine --version