How to Install Wine 8 on Debian 11
Last Updated :
05 Jun, 2024
Wine is a free program that lets you run Windows apps on your Linux computer. The Wine team released the new stable version 8.0 in January 24 2023. You can get the Wine 8 from the official website or using the package manager on your Linux system.
This guide will show you how to install the Wine 8 version on Debian 11 and Debian 10 using the PPA (Personal Package archive). Wine is made by volunteers and companies who want to help Linux users run Windows programs.
What is Wine and why install it on Debian 11?
Wine is a program that allows running Windows software on the Linux computers like Debian 11. Windows programs normally only work on Windows, but Wine makes them work on Linux. Installing Wine 8 on Debian 11 is useful if you need the Windows programs but do not want to install the full Windows operating system. With the Wine, these Windows programs run directly on the Debian 11.
People install Wine 8 because it is the newest version with the latest improvements for smoothly running Windows programs without any issues.
Installation of Wine version 8
First, check if your computer has 64-bit. Mostly the newer computers are 64-bit. If the computer is 64-bit then you need to make it able to use the 32-bit programs too. Do this by running the below command. This command will tell your 64-bit computer that it can also use 32-bit programs.
Command :
sudo dpkg --add-architecture i386
Output :

Next we need to get a special key file. This key file lets your computer trust that the Wine software is safe to install. Without this key your computer might think Wine is unsafe. Run the below command This command gets the key file from the Wine website. It then adds this key to your computers list of trusted keys.
Command :
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Output :

Now tell your Debian computer where to find the Wine software. Use the below command to do that. This command adds the Wine software address to your computer's list of places to look for programs.
Command :
sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
Output :

After doing these three steps, your computer knows it can trust and install Wine 8 from the official Wine place. Your computer is now ready for the actual Wine 8 installation command.
Step 2: Install Wine on Debian
Now we are ready to actually install Wine on your Debian computer. Use the below command. This command updates the list of available software on your computer.
Command :
sudo apt update
The following command installs the Wine software along with any other recommended programs that Wine needs to work properly. The --install-recommends part tells your computer to install those recommended programs too.
Command :
sudo apt install --install-recommends winehq-stable
Output :

In some cases Wine might get installed in a special directory called `/opt/wine-stable`. If that happens you need an extra step to let your whole computer system access and use the Wine programs. The below command updates a setting called `PATH` that tells your computer where to look for programs. By adding `/opt/wine-stable/bin` to the `PATH` your computer can now find and run the Wine programs from anywhere.
Command :
export PATH=$PATH:/opt/wine-stable/bin
Output :

After running these commands, Wine 8.0 should be successfully installed on your Debian system! You can now try running Windows programs using Wine.
Step 3: Verify Installation
To make sure Wine was installed correctly, you can check which version is now on your computer. Use the below command this command asks the Wine program to tell you its current version number.
Command :
wine --version
Output :

Step 4: Run Windows Application
Now that Wine is installed you can use it to run the Windows programs right onto your Debian desktop. Next download the Windows program file with a .exe extension. For this example we use the popular PuTTY program. Save the putty.exe file in your Downloads folder. Open a terminal window and run the below command.
Command :
wine ~/Downloads/putty.exe
Output :

Conclusion
Wine allows to run the Windows programs directly to the your Debian Linux computer. By following the steps of enabling the 32 bit support adding the Wine repository and installing the Wine package and running the .exe file with the Wine you can easily use your favorite Windows software with your regular Linux programs.
Wine makes your Debian system more versatile by giving the access to Windows applications without needing a full Windows operating system installed.
Similar Reads
How to Install Yarn on Debian 12
Yarn is a fast, reliable, and secure package manager for JavaScript, commonly used for managing dependencies in Node.js projects. Installing Yarn on Debian 12 is a straightforward process, but it requires adding the Yarn repository to your system's package sources. In this comprehensive guide, we'll
3 min read
How to Install Go on Debian 10?
Go is an open-source programming language built by google to write microservices. Its syntax is inspired by java and the c++. Using Golang it is easy to build simple, reliable, and efficient software In this article we are going to see how we can install Golang in our Debian System. System on which
1 min read
How to Install Redis on Debian?
Want to set up Redis on a Debian system? Redis is a potent in-memory data structure store that may be used as a message broker, database, and cache. We'll lead you through the Redis installation process on Debian in this article, ensuring that you can swiftly start the Redis server. Regardless of wh
3 min read
How To Install the Apache Web Server on Debian 11?
Apache is an open-source web server thatâs available for Linux servers free of charge. Installing an Apache web server on Linux is a straightforward process. In this article, we will install Apache Web Server Debian 11 (Bullseye). Steps to Install Apache Web Server in LinuxStep 1: Update Your System
3 min read
How to Install Docker on Debian?
Docker Service Product is the essential tool used for the development purpose of any software where the said software needs to be passed through different development phases. The Installed Docker Service makes Operating System-Level Virtualization to create Docker Containers. Docker can easily be in
4 min read
How to Install DokuWiki on Debian 12
DokuWiki is a flexible and easy-to-use wiki platform that facilitates the creation and administration of knowledge bases, collaborative websites, and documentation. We will take you step-by-step through the Debian 12 installation of DokuWiki in this detailed guide. We'll go over several installation
3 min read
How to Install Windows 11
Are you ready to experience Windows 11 but unsure of how to install it for free? Whether you're upgrading from Windows 10 or getting a Windows 11 clean installation, we will guide you through the process of Installing Windows 11 for free in simple, easy-to-follow steps. We'll cover everything you ne
8 min read
How to Install Deepin on VirtualBox?
Deepin is a Debian-based distribution that aims to provide a user-friendly, user-friendly and reliable operating system. It does not only include the best open source world has to offer, but also it has created its own desktop environment called DDE which is based on the Qt 5 toolkit. It focuses muc
3 min read
How to Install Deepin on Linux?
Deepin is the top Linux distribution from China, it provides a beautiful, easy-to-use, safe, and reliable operating system for global users. Deepin is based on Debian's stable branch. The feature that sets Deepin aside from the rest of Linux distributions is its desktop environment known as DDE Deep
3 min read
How to Clean Install Windows 11 Version 24H2
A clean install of Windows 11 24H2 provides a fresh and enriched experience while ensuring that your PC runs smoothly. Whether you're upgrading from an older version or making a fresh Windows 11 installation, this guide will walk you through the process of performing a clean install of Windows 11 24
7 min read