With the increasing popularity of Linux desktops, There is another requirement occurred that we should have an application that can be used to run Windows applications. Windows has a long list of beautiful applications for users that are not available to Linux users. As we know that Linux does not support windows executable so WineHQ is a solution to run Windows applications and Linux systems.
This tutorial explain you to how to install Wine 6.0 Stable Release on a Fedora systems.
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 – Installing Wine on Fedora
The Fedora team provides rpm packages for the easy installation. You can get the official yum repository provided by Wine team for the installation of latest Wine packages.
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.
- Fedora 35:
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/35/winehq.repo
- Fedora 34:
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/34/winehq.repo
- Fedora 33:
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo
The Winehq repositories for the Fedora 31 and previous versions don’t contain Wine 6 packages. They contain Wine 5 stable release packages.
Finally, run the make and make install command to compile the wine source and install it on your system.
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 2 – Check Wine Version
After finishing the installation process, Use the following command to check the version of wine installed on your system.
wine --version
wine-6.0.1
Step 3 – Using Wine
To use wine we need to login to the CentOS/Fedora desktop. After that Download a windows executable (.exe) file like PuTTY on your system and open it with Wine as below screenshot or use following command.
wine putty.exe
Conclusion
This tutorial helped you to install the Wine 6 stable release on a Fedora Linux system.
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.