This article shows you how to set up and use Wine 7.0 Stable, which allows you to run Windows programs on the Debian 11 Bullseye operating system.
In Linux distributions such as Debian, you can use the WineHQ software, which acts as an interface to the Wine infrastructure to use Windows-based EXE or MSI software.
Thanks to Wine, you can run and use most Windows programs on your Linux computer. However, you cannot run all programs because Wine has a database that it supports. You can usually run old games or programs on your Linux PC.
If you use the Debian distribution on your PC, follow this video tutorial or the steps below to install Wine.
Step 1: First, to run 32 Bit applications on your Debian system, enable the 32 Bit architecture with the sudo dpkg –add-architecture i386 command in the terminal.
sudo dpkg --add-architecture i386
Step 2: Add the Key of WineHQ to your Debian system. To do this, run the terminal’s wget -nc https://dl.winehq.org/wine-builds/winehq.key command.
wget -nc https://dl.winehq.org/wine-builds/winehq.key
Step 3: To move the WineHQ.key file you downloaded to the required location, run the command sudo mv winehq.key /usr/share/keyrings/winehq-archive.key in the terminal.
sudo mv winehq.key /usr/share/keyrings/winehq-archive.key
Step 4: Run the wget -nc https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources command to download the Winehq-bullseye source to the repository list.
wget -nc https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
Step 5: Run the command sudo mv winehq-bullseye.sources /etc/apt/sources.list.d/ to move the winehq-bullseye.sources file to the appropriate location.
sudo mv winehq-bullseye.sources /etc/apt/sources.list.d/
Step 6: After making the necessary adjustments for Wine, update the package list with the sudo apt update command.
sudo apt update
Step 7: After updating the package list, run sudo apt install –install-recommends winehq-stable to install the stable version of Wine.
sudo apt install --install-recommends winehq-stable
Step 8: After installing Wine, you can check the version of Wine with the command –version and open the settings with the winecfg command.
Installing a Windows Program
Step 1: Download the Windows software you want to install on your Debian PC. For example, download the widely used Notepad++ program. You can easily download this software to your system with the wget command.
wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.4.2/npp.8.4.2.Installer.x64.exe
Step 2: Go to the location where you downloaded Notepad++ and open the terminal.
Step 3: To install the Windows program with Wine, you must use the wine filedi.exe command. Run the wine npp.8.4.2.Installer.x64.exe command to install Notepad++.
wine npp.8.4.2.Installer.x64.exe
Step 4: When the Notepad setup wizard opens, perform the steps as a Windows program is installed.
Related Articles
1. Installing Linux Mint on a PC
2. Installing Kali Linux on a PC
3. How to Install Debian
4. Installing Ubuntu on a PC
5. Installing PlayOnLinux in Linux Mint