Enter your email address below and subscribe to our newsletter

How to Install Wine on Debian 11 Bullseye

Share your love

Wine stands for “Wine Is Not an Emulator”. Wine is a free and open-source program that allows you to run windows programs in your Debian and other popular Linux distributions.

As its name suggests, it is not an Emulator but a runtime Environment that adds Windows compatibility layers. Using Wine on Debian 11 allows you to run your favorite Windows programs by adding compatibility layers of Windows to our Debian 11 System.

Installing Wine on Debian 11 Bullseye

This is an easy process and won’t take you long because it just requires some 5 commands and that’s it. Get ready with your terminal and let’s start with our first step.

Step 1: Add Wine Repository to Debian System

We can’t just download wine by using apt download wine. You have to add Repositories by which we can download wine to our System. To add Wine Repositories, use the following commands:

 sudo sh -c ‘echo ” deb https://dl.winehq.org/wine-builds/debian/ bullseye main” >> /etc/apt/sources.list.d/wine.list’ 


Step 2: Integrating the GPG key in our Debian System

To verify the packages being downloaded from Repositories, we are required to add a key. Use the given commands to Download key:

 wget -nc https://dl.winehq.org/wine-builds/winehq.key 

Adding Wine key

Add wine key to Debian by given command:

 sudo apt-key add winehq.key 

Adding key to system

Step 3: Enabling 32-bit package support for Debian System

There are many old Windows software and installers that only support 32-bit architecture and to run all the required software smoothly, enabling 32-bit Architecture is a good choice. Use the given commands to proceed further:

 sudo dpkg –add-architecture i386 

32 bir arch

Step 4: Updating Repositories

By updating our Repositories, we can be sure that all the packages that we are going to download are the latest and greatest. Updating Repositories will also make use of changes that we have just made in our System like adding Repository and Key.

 sudo apt update 

sudo apt update

Step 5: Installing Wine on Debian

After going through 4 steps, now it’s time we are going to install Wine in our Debian System. There are three branches of Wine – Stable, Development, and Staging. I prefer the Development version which is a sweet spot between stability and bleeding edge.

To download your preferred branch, follow the given commands:

For stable version:

 sudo apt install –install-recommends winehq-stable 

wine stable

For Development version:

 sudo apt install –install-recommends winehq-devel 

wine development

For Bleeding-edge version:

 sudo apt install –install-recommends winehq-staging 

wine staging

Step 6: Installing Winetricks on Debian (Optional)

Winetricks provides you GYI by which you can manage WinePrefix

 sudo apt install winetricks 

install winetricks

To open winetricks, use the following command:


running winetricks

Click on Accept. It will start downloading.

Once the downloading is complete, you will be given a new window by which you can download Windows software as per your preference.

choosing what to do

Uninstalling Wine from Debian

If you don’t require Wine anymore you can easily remove it from your system.

Uninstallation for stable version :

 sudo apt remove wine-stable winetricks 


You can remove the winetricks if you have not gone through that process installed

Uninstallation for development version:

 sudo apt remove wine-devel 

wine development

Uninstallation for bleeding-edge version:

 sudo apt remove wine-staging 


Frequently asked questions related to Wine

Does Wine work on Debian?

Yes, it works like a charm and is available in 3 different branches to choose from that are Stable, Development and Staging.

Do I need Winetricks?

No, it is not necessary to have it but it’s a good tool and you can use it to install and manage your Windows software in Linux.

Related Posts:


Installing Wine on Debian gives you the freedom to install Windows software in your Debian System. It is mainly used to play Windows-centric Games. It just adds a Windows compatibility Layer and gets you better performance than Virtual Machine. If you have just installed Debian then you should read our what to do after installing Debian 11 article.

Share your love
Sagar Sharma
Sagar Sharma

Sagar always uses Linux to its core and loves to write the technical side of system administration! While he's not writing for GeniusGeeks, you can find him writing for core linux blogs like IT'SFOSS.com and LinuxHandBook.com

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Stay informed and not overwhelmed, subscribe now!