Skip to content

How To Install Wine 9.0 on Fedora

Installing Wine on fedora. This article will help you to install Wine 8 stable release on Fedora systems. DNF install latest wine packages on fedora

Steps
5
Category
Linux
Covers
Fedora
Versions & support
About Fedora →
On this page 5 steps

Welcome to the guide on installing Wine 9.0 on Fedora! Wine is a compatibility layer that enables you to run Windows applications on Linux and other Unix-like operating systems. With the latest version of Wine, you can enjoy improved compatibility and performance when running your favorite Windows software on your Fedora system. This step-by-step tutorial will walk you through the installation process, ensuring that you can seamlessly integrate Wine into your Fedora environment and start using your preferred Windows applications without hassle. Let’s get started!

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 of 5Configure 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 of 5Install 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 of 5Verify the Installation

After finishing the installation process, Use the following command to check the version of wine installed on your system.

wine --version 

wine-9.0

Step 4 of 5Configure 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.

Configure Wine on Fedora
Configure Wine on Fedora

Step 5 of 5Running .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 
Installing Wine on Fedora Linux
Running windows application on Fedora

Conclusion

Congratulations! You have successfully installed Wine 9.0 on your Fedora system. With Wine, you now have the ability to run a wide range of Windows applications seamlessly on your Linux environment. Whether it’s productivity software, games, or other utilities, Wine provides you with the compatibility needed to enjoy your favorite Windows programs without having to switch operating systems. Remember to regularly update Wine to access the latest features and improvements. Enjoy exploring the possibilities that Wine brings to your Fedora experience!

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

1 Comment

  1. Error info:

    /opt/wine-stable/bin/wine: error while loading shared libraries: libwine.so.1: cannot create shared object descriptor: Permission denied

    Please help.

Leave a Reply

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


Back to top