Wine is an open-source software that enables running of Windows applications on Linux systems. This is a guide on how to install Wine 5 on Elementary OS 5.

First, you need to enable 32-bit support for Wine on your Linux system

sudo dpkg --add-architecture i386

Before installing Wine, update your system and install dependencies

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

Download Wine security code and add to your system

wget -nc
sudo apt-key add winehq.key

Now add repository

sudo apt-add-repository ‘deb bionic main’

Also add SDL2 Library repository

sudo apt-add-repository ppa:cybermax/dexter/sdl2-backport

Update your repository

sudo apt-get update -y

Install Wine 5 on Elementary OS 5.1

sudo apt install –install-recommends winehq-stable

Check installed Wine version

wine –version


How to use Wine to install windows applications on Elementary OS

Now Wine is installed on your Elementary OS 5. To configure, run winecfg command. You will be prompted to install Mono. Click install to proceed. Once Mono installation is completed, you will see another prompt to install Gecko and afterwards Wine Gecko Installer. Click install to proceed for these two as well. The prompt will appear as below:

In the next dialogue box, you can leave the defaults and press OK to finish Wine configuration.

How to run windows applications on Linux systems with Wine

Example: Run Notepad++ on Elementary OS

Use the below commands to launch Notepad++ on your Elementary OS 5.1

cd Downloads
wine ./npp.7.7.Installer.exe

Notepad++ set up will start as shown:

I hope you have enjoyed our step-by-step guide on how to install and use Wine 5 on Elementary OS 5.1. Check below more guides on your day-to-day Linux installations.


Please enter your comment!
Please enter your name here