In this tutorial, we will show you how to install Wine on Debian 10. For those of you who didn’t know, Wine is a free and open-source use that allows users to run Microsoft Windows applications in a Linux environment. In the present day, Wine is a must-have tool to get Linux users who don’t want to be able to let go of Windows native software especially gamers.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of Wine on a Debian 10 (Buster).
- A server running one of the following operating systems: Debian 10 (Buster).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install Wine on Debian 10 Buster
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following
apt commands in the terminal:
sudo apt update sudo apt upgrade sudo apt install apt-transport-https
Step 2. Check if you have a Linux 32-bit or 64-bit system.
There are different versions of Wine available for 32-bit and 64-bit flavors of Debian. In order to check which version you are using so that you can install the appropriate version of Wine, please follow commands:
Step 2. Installing Wine on Debian 10.
Now we import the GPG key:
sudo apt install gnupg2 software-properties-common wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Next, add the WineHQ repository:
sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
After that, add the Wine OBS repository:
wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add - echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list
Finally, Use the following command to install Wine on the Debian system:
sudo apt update sudo apt install --install-recommends winehq-stable
In order to verify installation and check which version is installed on your system, run the following command:
Congratulations! You have successfully installed Wine. Thanks for using this tutorial for installing Wine on Debian 10 Buster. For additional help or useful information, we recommend you to check the official Wine website.