How to Install Wine 9.0 in Debian 11 or 12

In today’s world of technology, many people use Linux instead of Windows on their computers. But sometimes, specific programs only work with Windows, which can be a problem for Linux users. Luckily, there’s a solution called Wine. It is a software that lets you use Windows software on Linux. In this article, we’ll show you how to set up and use the Stable version on Debian 11 or 12.

We’ll guide you through each step: installing it, turning on 32-bit support, adding the WineHQ key, downloading the Winehq-bullseye source, and using it to install an Exe program. Ready to learn how to use this app to run Windows programs on your Debian Linux OS? Let’s go!

Installing Wine in Debian

Credit: Debian

Using Windows Programs on Debian with WineHQ (Wine)

If you’re using a Linux system like Debian and you want to use software that’s made for Windows, WineHQ is a good option. It lets you run Windows apps on your Linux computer without any fuss.

With Wine, you can use lots of Windows programs on your Linux computer. This means you can switch between Windows and Linux without any problems. But remember, not all Windows programs will work with this software.

That said, you can play old games or use old programs on your Linux computer with no problems. It is an excellent way to use Windows software on your Debian.

Installing Wine in Debian PC

If you have Debian on your computer and want to use it, which helps you run Windows programs on Linux, you have two options. You can either review our video tutorial or look at the steps below to install it.

  1. If you’re using Debian and want to run 32-bit apps, you can do it quickly. To add the i386 architecture, open the terminal and type “sudo dpkg –add-architecture i386”. This lets you install and use 32-bit software without problems.
    sudo dpkg --add-architecture i386
  2. Adding the WineHQ Key to your Debian system is easy. Just open the terminal and type the wget command below to download the key. This ensures you can use it smoothly.
    wget -nc https://dl.winehq.org/wine-builds/winehq.key
  3. To make sure the key file is in the right place, you can use the command line to move it. First, open the terminal and type “sudo mv winehq.key /usr/share/keyrings/winehq-archive.key”. This puts the critical file where it needs to be for tasks.
    sudo mv winehq.key /usr/share/keyrings/winehq-archive.key
  4. To add the Winehq-bullseye source to your list of places to get software from, use this command. It helps you get the latest stuff for bullseye, making it easier to run Windows apps on Debian. But remember, adding new sources can affect how stable your system is, so stick to trusted ones. Here’s the command:
    wget -nc https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
  5. To move the file named bullseye.sources to its correct spot, use the sudo mv command. It ensures the file goes where it needs to be.
    sudo mv winehq-bullseye.sources /etc/apt/sources.list.d/
  6. After you’ve done what you need to do for it, you can refresh the package list by typing “sudo apt update” in the terminal. This makes sure your system gets any new updates or packages that are available for installation.
    sudo apt update
  7. To put the stable version of Wine on your Debian, you have to do a couple of things. First, update your list of packages. After that, type in this command: “sudo apt install –install-recommends winehq-stable.” That will start putting the stable version of Wine on your computer, along with any other stuff it needs.
    sudo apt install --install-recommends winehq-stable
  8. After you’ve got the Windows app layer on your system, checking its version is straightforward. Just type “–version” and hit enter. You can also adjust Wine’s settings with the “winecfg” command. These two commands help you see which Wine version you’re using and tweak its settings the way you want.

Installing a Windows Program with Wine

  1. Get the Windows software you want for your Debian PC. For instance, let’s say you want Notepad++. You can grab it quickly using 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
  2. Go to where you saved Notepad++ and open the terminal.
  3. To put the Windows program on your system using it, type in the “wine filename.exe” command. Then, run “wine npp.8.4.2.Installer.x64.exe” to install Notepad++.
    wine npp.8.4.2.Installer.x64.exe
  4. When you start the Notepad setup wizard, follow the usual steps like you would when installing a program on a Windows computer. Doing this makes sure the program gets installed correctly and is good to go.

Conclusion

Using WineHQ on Debian helps you run Windows programs on your PC without any trouble. It’s like having a smooth way to switch between Windows and Linux so that you can use lots of Windows software on OS easily.

We’ve shown you how to install Wine on Debian 11 or 12, step by step, from adding the key to installing a Windows program. Follow these steps, and you’ll unlock more software options on your Debian OS with this app.

If you want to put Wine on different kinds of systems, take a look at our guide on How to Install Wine on Kali Linux.

Copyright © 2018 - 2024