Are you looking to run DirectX12 games on your Linux PC? If so, you might want to consider using Wine 9.0 Stable. This application essentially lets you run Windows applications on Linux.
In addition, it also lets you run games without any problems. In this article, I will show you how to install Wine without any issues. So, if you are ready to start the installation, let’s move forward together!
How to Install Wine 9.0 on Linux Systems?
After the release of Wine 9.0 Stable, you can install and run Windows games that support DirectX12 on your Ubuntu, Linux Mint, Debian, or openSUSE operating system.
As you know, you can run a Windows-based program or game on your computer with Wine. Wine is not an emulator; it only serves as a compatibility layer for Windows applications.
In our previous articles, we installed WineHQ on Linux systems. You can access and browse these articles from the links below.
- Installing WineHQ on Ubuntu
- Installing WineHQ on Linux Mint
- Installing WineHQ on openSUSE
- Installing WineHQ on Mac
In this article, we will examine how to install the current version of Wine (Devel).
How to Use Wine Step-by-Step
There are two ways to install WineHQ. The first method is to download the necessary packages over the Internet. The second method is to use the offline package without the Internet.
In this article, I will look the installation steps over the Internet. Now, follow the steps below to configure this software on your system.
Step 1: If Your System is 64-bit, Enable 32-bit Architecture
If your Linux system is 64-bit, you need to enable 32-bit. Run the terminal by pressing CTRL + Alt + T keys together on your Linux computer and apply the “sudo dpkg –add-architecture i386” command.
sudo dpkg --add-architecture i386
Step 2: Download and Add Repo Key
To automatically update the program when a new version of the program is released, you must have the WineHQ Key defined in your Linux repository. To determine the key, execute the following commands in the terminal.
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Step 3: Update Repository
To update the sources.list file, you can use the “sudo nano /etc/apt/sources.list” command in the terminal. Let’s say you want to add the WineHQ repo directly from the console. In this case, you can use the “sudo apt-add-repository” command.
You need to update your Linux computer’s Repository. Add the Repo address of the Linux distribution you are using listed below.
Distribution Name | Command |
---|---|
noble Ubuntu 24.04 Linux Mint 22 | sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources |
jammy Ubuntu 22.04 Linux Mint 21.x | sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources |
focal Ubuntu 20.04 Linux Mint 20.x | sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources |
trixie Debian Testing | sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/trixie/winehq-trixie.sources |
bookworm Debian 12 | sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources |
bullseye Debian 11 | sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources |
Step 4: Update Packages
After configuring the Key and Repository, execute the “sudo apt-get update” command in the terminal to update the Linux packages.
sudo apt-get update
Step 5: Finally, Install WineHQ
Finally, install one of the Stable, Devel, or Staging versions on your Linux computer.
Stable Branch | sudo apt install –install-recommends winehq-stable |
---|---|
Development Branch | sudo apt install –install-recommends winehq-devel |
Staging Branch | sudo apt install –install-recommends winehq-staging |
NOTE: I always recommend installing the “Stable” version of the installation packages above. Because, this version is the most stable!
How to Build Wine Stable in Ubuntu?
By installing this software on the Ubuntu distribution, you can install and run many exe programs. You can also install it on Ubuntu OS on a VMware virtual machine and run it on the virtual machine.
To install Wine, first test your Internet connection on your PC. Then, open the terminal and install it by applying the following commands in order.
1) sudo dpkg --add-architecture i386
2) sudo mkdir -pm755 /etc/apt/keyrings
3) sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
4) sudo apt update
5) sudo apt install --install-recommends winehq-stable
Video Eğitimi
Frequently Asked Questions (FAQ)
- What is Wine?
- Do all Windows applications work?
- Is it necessary to configure Wine after installing it?
- Is WineHQ safe to use?
- Can I uninstall Wine if I no longer need it?
Conclusion
In short, you can install the Stable, Devel, and Staging versions of Wine on your PC. However, of course, the stable version works better and is more reliable. Thus, these versions help you run Windows programs on Linux more easily.
If you follow these actions, you can quickly run Windows programs on Linux. In this way, you make your operating system more functional. We hope you have a great time and enjoy your gaming! Thank you for being with us!