In this tutorial, we will show you how to install Wine on Fedora 35. For those of you who didn’t know, Wine (an acronym for “Wine Is Not an Emulator”) is open-source software. By using a wine you can install/run Windows applications/tools on Linux. As we know that Linux does not support windows executable so WineHQ is a solution to run Windows applications and Linux systems.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the WineHQ on a Fedora 35.
Prerequisites
- A server running one of the following operating systems: Fedora 35 or Fedora 34.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A stable and fast internet connection.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Wine on Fedora 35
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update sudo dnf install dnf-plugins-core
Step 2. Installing Wine on Fedora 35.
By default, Wine is not available on Fedora 35 repository. So we get add the Wine repository from the official page using the following command below:
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/35/winehq.repo
Once we have added the WineHQ repository to your system, we can now proceed to install WIneHQ. Choose any of the releases below if you have no idea which package to run, and execute the stable branch:
Stable branch |
sudo dnf install winehq-stable |
---|---|
Development branch |
sudo dnf install winehq-devel |
Staging branch |
sudo dnf install winehq-staging |
Next, use the following command to check the version of Wine installed on your system:
wine --version
Step 3. Configure Wine.
Once successfully installed, You can proceed with configurations using winecfg
command to load the WineHQ configuration GUI:
wine winecfg
Congratulations! You have successfully installed WineHQ. Thanks for using this tutorial for installing the Wine on your Fedora 35 system. For additional help or useful information, we recommend you check the official Wine website.