WineHQ is a popular Windows Program loader for Linux-based systems, here we will see the steps to install and set up Wine for the Linux Mint distro.
Wine is not new to the Linux world, it has been quiet for some time now, and with every version, the developers of this platform trying to bring more stability and compatibility with a wide range of existing Windows software. For example, with the supports, Direct3D 11 with AMD and Intel GPUs; Vulkan backend for WineD3D, DirectShow, and Media Foundation support; the uses can now run various Windows games under Linux.
It enables the execution of Windows programs with the help of interfaces, without using any kind of a virtual machine such as Virtualbox. And for that Wine forwards the system calls directly to the Linux kernel and the graphical user interface so that the programs appear to be executed natively under Linux.
Step to install Wine for Linux Mint distro
The below-given steps will work on the latest Linux Mint 20.1 along with the previous version Linux Mint 20, 19.3, 19.2, 19.1, 19, 18.3, 18.2, and 18.1.
1. Add Wine GPG key
To verify the packages we are about to install using the repository of Wine, first, we need to add its GPG key, here is the command that will do this for us.
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
2. Wine repo for Linux Mint
Although, the packages of Wine are already present in the official repository of Linux Mint, however, it would create some issues, thus it is better to install Wine for Linux Mint by adding its official repository to fetching the latest available packages. As Linux Mint is Ubuntu-based, thus we use repo available for that here as well.
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Also, enable the support to 32-bit architecture, as many Windows programs are still in and support only 32-bit.
sudo dpkg --add-architecture i386
3. Run system update command
Once the repo is added, we have to make sure the system is recognizing the changes. For that run system update command, it will rebuild the repository cache to make sure the latest packages are available to download and install.
sudo apt update
4. Install Wine and Winetricks
Now, here is the command to install the latest version of Wine for Linux Mint. WineTricks offers a graphical user interface to manage WinePrefix and install DLL.
sudo apt install --install-recommends winehq-stable
sudo apt install winetricks
Once the installation is completed, check the version of the Wine to know the command-line tool of its is working fine.
To use the WineTrick GUI interface, simply in your command terminal type:
To know how to use Wine for the installation of any Window application on Linux Mint, see this article – How to install Microsoft Office 2007 on Linux