How to Install Wine 9.0 on Linux

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!

Installing Wine on a Linux Computer

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.

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 NameCommand
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 Branchsudo apt install –install-recommends winehq-stable
Development Branchsudo apt install –install-recommends winehq-devel
Staging Branchsudo 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)

  1. What is Wine?
Wine is an abbreviation for “Wine Is Not an Emulator.” In other words, it helps you run Windows apps on Unix-like systems. This open-source tool changes Windows commands into commands that Linux understands. This way, it works faster than virtual machines. So, you can run your .exe applications on your Linux OS.
  1. Do all Windows applications work?
Of course, you can run many applications. But you may not be able to run all of them smoothly with this software. Plus, you need to check against the WineHQ compatibility database.
  1. Is it necessary to configure Wine after installing it?
Usually, you will start using the compatibility tool right after you install it. But some of your apps might need a little setup.
  1. Is WineHQ safe to use?
Generally, I can say that it is safe to use. But I recommend that you download it from official sources. Moreover, it would be best if you were careful when running unknown Windows applications.
  1. Can I uninstall Wine if I no longer need it?
Yes, you can remove Wine from your Linux PC whenever you want. In short, you can use your system’s package manager to do this. Also, you can altogether remove this package from your system via the terminal.

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!

Add a Comment

Your email address will not be published. Required fields are marked *