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
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
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 wine-6.0
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.