Welcome to our guide on how to install Wine 4 on Fedora 30/29/28. Wine is an open source software that allows you to run Microsoft Windows applications on Linux. Read more on Wine 4 release and new features. By leveraging its Winelib library, you can compile Windows applications to help with porting them to Unix-like systems.

For Ubuntu 18.04 / Linux Mint 19 users, check How to Install Wine 4 on Ubuntu / Linux Mint.

Step 1: Add WineHQ repository

Start by adding WineHQ repository with the latest stable packages for Wine.

Fedora 29:

sudo dnf -y install dnf-plugins-core
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/29/winehq.repo

Fedora 30:

dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/30/winehq.repo

Fedora 28:

dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/28/winehq.repo

Step 2: Install Wine 4 on Fedora 30/29/28

After adding the repository, install any of the following Wine 4 packages on Fedora 30/29/28.

Stable branch:

sudo dnf -y install winehq-stable

Development branch:

sudo dnf install winehq-devel

Staging branch:

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     : 4.0
Release     : 6.1
Architecture: x86_64
Install Date: Fri 10 May 2019 11:21:04 AM EAT
Group       : Emulators
Size        : 62425
License     : LGPLv2+
Signature   : RSA/SHA256, Wed 23 Jan 2019 12:53:28 PM EAT, Key ID 76f1a20ff987672f
Source RPM  : wine-stable-4.0-6.1.src.rpm
Build Date  : Wed 23 Jan 2019 04:24:02 AM EAT
Build Host  : localhost
Relocations : (not relocatable)
Vendor      : obs://build.opensuse.org/Emulators
URL         : https://www.winehq.org/
Summary     : WINE Is Not An Emulator - runs MS Windows programs
....................

The version of wine installed can also be checked using.

$ wine --version
wine-4.0

To configure wine, run:

$ winecfg

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.