Wine is a compatibility layer that allows users to run Windows applications on Linux and other operating systems. WineHQ is the official distributor of the Wine project, which includes the latest stable version of Wine as well as additional features and enhancements.
Before proceeding with the installation, it is important to note that Wine is not an emulator, it does not emulate the Windows operating system. Instead, it provides a compatibility layer that allows Windows applications to run natively on Linux.
In this article, we will show you how to install Wine 8.0 stable release on Fedora Linux..
Prerequisite
You must have a sudo privileged account for the Wine installation on Fedora.
Wine required many development packages. First, we recommend upgrading all system packages using the following commands.
sudo dnf clean all
sudo dnf update
Step 1: Configure Wine Repository
The first step in installing WineHQ on Fedora is to add the WineHQ repository to your system. This can be done by running the following commands. First, import the Winehq GPG key into your system.
sudo dnf -y install dnf-plugins-core
sudo rpm --import https://dl.winehq.org/wine-builds/winehq.key
Next, add the Wine package repository to your system.
source /etc/os-release
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/${VERSION_ID}/winehq.repo
If you are running Fedora 35 or older version repository contains WineHQ 7 and older versions. So if you want to use Wine 8, you need to upgrade Fedora to the latest version.
Step 2: Install WineHQ on Fedora
You have configured the WineHQ yum repository on your Fedora system. The next step is to install WineHQ by running the following command:
sudo dnf install winehq-stable
The above command will install a large number of packages as a dependency. The installation may take time as per your network speed. Enjoy a cup of coffee until the installation finishes.
Step 3: Verify the Installation
After finishing the installation process, Use the following command to check the version of wine installed on your system.
wine --version
wine-8.0
Step 4: Configure Wine
WineHQ is now installed on your system, but it is not yet configured. The next step is to configure Wine by running the following command:
winecfg
This will open the Wine configuration window, where you can set various options such as the Windows version to emulate and the location of the virtual C drive.

Step 5: Running .exe
file Using Wine
For this example, I have downloaded the putty.exe file. Now use the wine utility to run this putty Windows application on your Fedora system.
wine ~/Downloads/putty.exe

Conclusion
In this article, we have shown you how to install WineHQ on Fedora Linux. With WineHQ, you can run Windows applications on Linux, making it easy to use your favorite Windows programs on your Linux system.
It’s worth noting that some applications may not work perfectly or may require additional configuration. Some applications may not work at all and compatibility with the new windows versions may not be available. However, you can always check the compatibility of specific applications on the official website of WineHQ.
1 Comment
Error info:
/opt/wine-stable/bin/wine: error while loading shared libraries: libwine.so.1: cannot create shared object descriptor: Permission denied
Please help.