Welcome to our guide on how to install Wine 6 on Fedora 34/33/32/31/30. Wine is an open source software that allows you to run Microsoft Windows applications on Linux. Read more on Wine 6 release and new features. By leveraging its Winelib library, you can compile Windows applications to help with porting them to Unix-like systems.
Step 1: Add WineHQ repository
Start by adding WineHQ repository with the latest stable packages for Wine.
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/34/winehq.repo
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/32/winehq.repo
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/31/winehq.repo
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/30/winehq.repo
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/29/winehq.repo
Step 2: Install Wine 6 on Fedora 34/33/32/31/30/29
After adding the repository, install any of the following Wine 6 packages on Fedora 34/33/32/31/30/29.
Stable branch – (Recommended)
sudo dnf -y install winehq-stable
Development branch – Only for tests
sudo dnf install winehq-devel
Staging branch – Bleeding edge
sudo dnf install winehq-staging
More information on installed package can be checked with the rpm command.
$ rpm -qi winehq-stable Name : winehq-stable Epoch : 1 Version : 6.0.0 Release : 2.1 Architecture: x86_64 Install Date: Fri 15 Jan 2021 10:44:22 PM UTC Group : Emulators Size : 63030 License : LGPLv2+ Signature : RSA/SHA512, Fri 15 Jan 2021 07:54:08 PM UTC, Key ID 76f1a20ff987672f Source RPM : wine-stable-6.0.0-2.1.src.rpm Build Date : Thu 14 Jan 2021 06:58:31 PM UTC Build Host : build79 Vendor : obs://build.opensuse.org/Emulators URL : https://www.winehq.org/ ....
The version of wine installed can also be checked using.
$ wine --version wine-6.0
To configure wine, run:
Step 4: Install winetricks
Winetricks is a helper script to download and install various redistributable runtime libraries needed to run some programs in Wine. These may include replacements for components of Wine using closed source libraries.
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks chmod +x winetricks sudo mv winetricks /usr/local/bin/
That’s awesome. Now visit the Wine Application Database which has over 20,000 applications and choose the ones to run in Wine.
More on Fedora: