Step 1: Enable 32 bit architecture
sudo dpkg --add-architecture i386
Step 2: Add WineHQ repository
We will pull the latest Wine packages from WineHQ repository that is added manually. First, import GPG key:
sudo apt update sudo apt -y install gnupg2 software-properties-common wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
You should receive “OK” in the output. Add the Wine repository by running the following command:
sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
The command will add repository to line /etc/apt/sources.list file.
Update APT package index:
sudo apt update
Step 3: Install Wine 6 on Debian 10
After configuration of the APT repository, the final step is the actual installation of Wine 6 on Debian 10. Add 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
Then install Wine from Stable branch:
sudo apt update sudo apt install --install-recommends winehq-stable
And for latest release in staging, use:
sudo apt install winehq-staging
After installation. verify version installed.
wine --version # Stable wine-6.0 wine --version # Staging wine-6.5 (Staging)