WineHQ

Translations of this page: 简体中文

Installing WineHQ packages

Add the repository:

Fedora 38:

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

Fedora 39:

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

Install one of the following packages:

Stable branch
dnf install winehq-stable
Development branch
dnf install winehq-devel
Staging branch
dnf install winehq-staging

Build Dependencies

See https://wiki.winehq.org/Building_Wine#Satisfying_Build_Dependencies and srpm files at https://dl.winehq.org/wine-builds/fedora

You'll need to install the GNU make toolchain

sudo dnf groupinstall "C Development Tools and Libraries"
sudo dnf groupinstall "Development Tools"


Also, you may need some packages from rpmfusion

Compiling

Thanks to Fedora's multilib arrangement, once you have the dependencies, building either a plain 32-bit or WoW64 version of Wine should be straight-forward. The appropriate sections on Building Wine should list all the steps.

Plain 32-bit wine on 64 bit system

PKG_CONFIG_PATH=/usr/lib/pkgconfig CC="ccache gcc -m32" ./configure
make

A Bit of History

Fedora has a unique history among GNU/Linux distributions that partly explains its goals and relationship to other distros. It initially began as a minor distro, Fedora Linux, that would test and package extra software on top of the venerable RedHat distro (now technically Red Hat Enterprise Linux). Around the same time though, Red Hat Inc. decided to focus on very stable releases with long-term support for enterprises.

At first, the company tried directly managing a more fluid branch geared towards desktops, but many non-subscribing PC users began switching to Fedora Linux. At that point, Red Hat made the farsighted decision to cooperate with the Fedora Linux community on experimental work, and the Fedora project was born. The resulting distribution was originally called "Fedora Core" before being renamed simply "Fedora" after a few years.

Today, Fedora is the work of a worldwide community of volunteers, but Red Hat Inc. still contributes a great deal to the project through both collaboration and financial support. In a bit of a role-reversal, Fedora is also now effectively upstream of its parent distro; RedHat (and its child distros) will periodically branch off a new Fedora release, then after much more testing and bug-fixing, provide a new release to their more stability-minded users.

See Also


This page was last edited on 23 February 2024, at 01:37.