Last updated on December 3rd, 2019 at 10:29 pm
Welcome to our guide on how to install Wine 4.0 on Debian 9.8. Wine (Wine Is Not an Emulator) is a free and opensource software that allows Microsoft Windows applications and computer games to run on POSIX-compliant Operating Systems, such as Linux, MacOS and BSD. Wine 4.0 is the latest and stable release version as of this writing. This release comes with a lot of improvements with the main highlights being;
- Support for Game controllers
- Support for Direct3D 12
- Vulkan support
- Support for High-DPI on Android
You can learn more about the major improvements in Wine 4.0 on the release notes.
How to Install Wine 4.0 on Debian 9.8
Well, it is pretty simple to install wine package on Debian 9.8 since the package is available on the default repositories. However, if you are looking at installing the latest and stable release, Wine 4.0, you need to install Wine PPA repository for Debian 9. First things first;
Enable support for 32-bit packages if you are running a 64 bit system.
sudo dpkg --add-architecture i386
Download and install the Wine PPA repository signing key
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key
Install Wine PPA repository
echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" | sudo tee -a /etc/apt/sources.list
Once the PPA repository is installed, update your system packages.
sudo apt install apt-transport-https sudo apt update
Next, install Wine 4.0 on Debian 9.8 by executing the command below;
sudo apt-get install --install-recommends winehq-stable
Once the installation completes, you can verify the Wine version by executing the command below;
wine --version wine-4.0
There you go. This guide has taken you through all the steps required to install Wine 4.0 on Debian 9.8. You can now run Windows-based applications on your Debian 9.8 system. Enjoy.
Install Wine 4 on CentOS 8 by following the link below;
How to Install Wine 4 on CentOS 8
Install and Setup DVWA on Debian 10
Install Monitorix on Debian 10
Install Redmine with MariaDB on Debian 10 Buster
After much difficulty getting wine installation from other sources, everything failed to open. Atlast your version of commands worked well and I have wine 4.0.1 version installed. Thank you very much. .
Thank you for the feedback Ananthakrishnan. Glad you got it working.
What an excellent step-by-step. It worked perfectly first time. Thank you, Amos!
Glad this helped, Terry
Muchas gracias por su aporte!! Me sirvió de mucho, fue una buena ayuda… — Thank you very much for your input!! It helped me a lot, it was a good help …
Hi Miguel. Glad it helped you. Enjoy
many many thanks to you, bro. Your guide is not the best. It is the VERY best. Till now the one that goes. Thanks a lot for your great work.
Muito obrigado amigo. O unico manual q para mim fincionou para instalar o wine. Perfecto
Am humbled, Jose. Enjoy.