Did you know that Wine 6 has been released?. This guide will take you through the steps to install Wine 6 on Ubuntu 18.04 / Linux Mint 19. For those new to Wine, it is an open source software that allows you to run Windows applications on Linux. Read more on Wine 6 release and new features.

Debian 10/9/8: How To Install Wine on Debian 10/9

how to install wine 4 ubuntu 18.04 linux mint 19 min

Install Wine 6 on Ubuntu 18.04 / Linux Mint 19

Since Linux Mint 19 is based on Ubuntu 18.04, the installation of Wine 6 on both of these distributions is a similar process. Our installation uses WineHQ packages. You’ll need to remove the previous version of Wine that might have been installed from another repository, e.g winetricks and wine-mono.

Step 1: Enable 32 bit architecture

If you’re running a 64-bit system, enable support for 32-bit applications.

sudo dpkg --add-architecture i386 

Then proceed to step 2

Step 2: Download and add the repository key:

Install wget if not present in your system.

sudo apt-get update
sudo apt-get -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/ bionic main'

Also add SDL2 library repository:

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

Update apt index:

sudo apt-get update

Using Wine OBS repository

If you want to use Wine OBS repository instead, add it like below.

wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | sudo apt-key add -    
echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list
sudo apt update

Step 4: Install Wine 6 on Ubuntu 18.04 / Linux Mint 19

The final step is the actual installation of Wine 6 on Ubuntu 18.04 / Linux Mint 19.

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

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

$ wine --version

Step 5: Using Wine on Debian

For basic usage of wine, check help page.

$ wine --help

Example below is used to run Notepad++ editor on Linux.

$ cd ~/Downloads
$ wget https://notepad-plus-plus.org/repository/7.x/7.7/npp.7.7.Installer.exe
$ wine ./npp.7.7.Installer.exe

Follow installation prompts like for any other Windows application.

Enjoy running Windows Applications on Wine 6.

Other guides.

Top 10 Free Backup software for Linux

Best secure Backup Application for Linux, macOS & Windows

Bind vs dnsmasq vs PowerDNS vs Unbound

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