How to Install Wine on CentOS 8

Install Wine on CentOS 8

In this article, we will have explained the necessary steps to install and configure Wine on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Wine is a free and open-source software which provides the ability to run Microsoft Windows applications and computer games to run on POSIX-compliant Operating Systems, such as Linux, MacOS and BSD. Wine stands for Wine Is Not an Emulator. And it’s not, it is an interface that translates Windows system calls into equivalent POSIX calls used by Linux and other Unix-based operating systems.

Install Wine on CentOS

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf config-manager --set-enabled PowerTools
sudo dnf update

Step 2. Install dependencies required.

Before you can install Wine, there are some other dependencies that needs to be installed. For example, isdn4k-utils which provides utilities for configuring an ISDN subsystem:

sudo dnf localinstall http://mirror.centos.org/centos/7/os/x86_64/Packages/isdn4k-utils-3.2-99.el7.x86_64.rpm

Step 3. Install Wine on CentOS 8.

Installing Wine using following command:

sudo dnf install wine

Verify Wine installation on CentOS 8:

wine --version

Before you can use Wine to run Windows applications, reboot your system to setup the Wine environment:

systemctl reboot

Step 4. Using Wine on CentOS.

For basic usage of wine, check help page:

wine --help

Congratulation, you have learned how to install and configure Wine on CentOS 8. If you have any question, please leave a comment below.