Wine is a software application that enables users to run Microsoft Windows applications on Unix-like operating systems. Programs running in Wine act as native programs would, without the performance/memory penalties of an emulator. In this guide I’ll show you how to install Wine 5 on Linux Mint 20. As of this article update the latest release of Wine 5 is version 5.11 with the following features:
- Wine Mono engine updated to 5.1.0, with WpfGfx library support.
- More work on the separate Unix library for NTDLL.
- Beginnings of a NetIO kernel driver implementation.
- Initial support for the Print Ticket API.
- Removal of the obsolete 32-bit PowerPC architecture.
- Various bug fixes.
Install Wine 5 on Linux Mint 20
As Linux Mint 20 is based on Ubuntu 20.04 the packages for Wine that are used will be for Ubuntu 20.04 Linux.
$ cat /etc/os-release NAME="Linux Mint" VERSION="20 (Ulyana)" ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME="Linux Mint 20" VERSION_ID="20" HOME_URL="https://www.linuxmint.com/" SUPPORT_URL="https://forums.ubuntu.com/" BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/" PRIVACY_POLICY_URL="https://www.linuxmint.com/" VERSION_CODENAME=ulyana UBUNTU_CODENAME=focal
Below are the simple steps that you’ll follow to install and run Wine 5 on Linux Mint 20.
Step 1: Update System
Our rule of thumb before any installation is ensuring the system is updated:
sudo apt update && sudo apt upgrade
Step 2: Enable 32 bit architecture
If you’re running a 64-bit system, enable support for 32-bit applications.
sudo dpkg --add-architecture i386
Once the command has been executed proceed to add the repository for Wine.
Step 3: Add Wine repository
Ensure wget command line tool is installed.
sudo apt update sudo apt install software-properties-common wget
Import repository GPG key:
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Add Wine repository to Linux Mint 20.
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Update APT cache and install Wine 5 on Linux Mint 20.
sudo apt update sudo apt install --install-recommends winehq-stable
Agree to installation prompt:
..... libx264-155:i386 libx265-179:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxvidcore4:i386 libxxf86vm1:i386 libzstd1:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386 mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 va-driver-all:i386 vdpau-driver-all:i386 wine-stable wine-stable-amd64 wine-stable-i386:i386 winehq-stable zlib1g:i386 0 upgraded, 237 newly installed, 0 to remove and 0 not upgraded. Need to get 245 MB of archives. After this operation, 1,668 MB of additional disk space will be used. Do you want to continue? [Y/n] y
Wait for the installation to complete then check the actual version number of Wine installed on Linux Mint 20.
$ wine --version wine-5.0.1
The first time you run Wine it will ask you to install Mono package.
Same for Gecko package.
Let’s try install a Windows applications on Linux Mint 20 with Wine.
Download Notepad exe file.
$ wine npp.7.8.8.Installer.exe
Start installation by pressing OK key.
Follow the next prompts to finish your first windows application installation on Linux Mint 20.
Launch the application when done with the installation and confirm it can run smoothly.
You have successfully installed and tested Wine on Linux Mint 20 Linux system. Check other Linux Mint articles available in our website.