Did you know that Wine 4 has been released?. This guide will take you through the steps to install Wine 4 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 4 release and new features.
For Ubuntu 16.04 / 18.10 / Linux Mint 18, check How to Install Wine 4 on Ubuntu 16.04 / 18.10 / Linux Mint 18
Debian 10/9/8: How To Install Wine 4 on Debian 10/9
Install Wine 4 on Ubuntu 18.04 / Linux Mint 19
Since Linux Mint 19 is based on Ubuntu 18.04, the installation of Wine 4 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'
Update apt index:
sudo apt-get update
Step 4: Install Wine 4 on Ubuntu 18.04 / Linux Mint 19
The final step is the actual installation of Wine 4 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-4.0.1
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 4.