Install and Use Wine 9.x on Rocky 8 / AlmaLinux 8

This article will cover how to install Wine 8.x on Rocky Linux 8 / AlmaLinux 8. Wine is an application that enables users to run Microsoft Windows applications on a Linux system. Below are some of the new features and improvements of Wine:

  • Most modules converted to PE format.
  • Better theming support, with a bundled theme for a more modern look.
  • Vastly improved HID stack and joystick support.
  • New WoW64 architecture.

The steps below will guide us on how to setup Wine on your EL Linux environment. You will need to open your terminal or use ssh to access the shell of your system.

You also need a user with sudo privileges.

Step 1: Update your system

Update your system and packages.

sudo dnf -y update

Remember to reboot your system after the update is complete:

sudo reboot

Step 2: Install Software Dependencies

Enable EPEL and PowerTools repositories:

sudo dnf -y install epel-release
sudo dnf config-manager --set-enabled powertools

Install Development Tools

sudo dnf groupinstall 'Development Tools' -y

Install dependencies:

sudo yum -y install libxslt-devel libpng-devel libX11-devel zlib-devel libtiff-devel freetype-devel libxcb-devel  libxml2-devel libgcrypt-devel dbus-devel libjpeg-turbo-devel  fontconfig-devel gnutls-devel gstreamer1-devel libXcursor-devel libXi-devel libXrandr-devel libXfixes-devel libXinerama-devel libXcomposite-devel mesa-libOSMesa-devel libpcap-devel libusb-devel libv4l-devel libgphoto2-devel gstreamer1-devel libgudev SDL2-devel gsm-devel libvkd3d-devel libudev-devel wget

Step 3: Build and Install Wine

Download the latest version of Wine.

curl -O https://dl.winehq.org/wine/source/9.x/wine-9.13.tar.xz

Extract the downloaded file:

tar xvf wine-*.tar.xz

Compile and build Wine on Rocky / AlmaLinux:

cd wine-*/
./configure --enable-win64 
make
sudo make install

Run the command below to initiate wine configuration.

$ winecfg

You will be required to install Wine Mono package.

Also install Wine Gecko:

Step 4: Confirm Wine Installation

Verify the installation of Wine by checking the version.

wine64 --version

You can also get the installed version through running the winecfg command then navigate to “About”.

You can get basic help from wine help:

$ wine64 --help

You can now run windows applications on your Rocky / AlmaLinux system using wine.

Explore More with CloudSpinx

Here at CloudSpinx, we focus on navigating IT complexity, so you can focus on growing your business.

Check out more articles from us:

Your IT Journey Starts Here!

Ready to level up your IT skills? Our new eLearning platform is coming soon to help you master the latest technologies.

Be the first to know when we launch! Join our waitlist now.

Join our Linux and open source community. Subscribe to our newsletter for tips, tricks, and collaboration opportunities!

Recent Post

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Post

Zimbra Collaboration Suit (ZCS) is an open-source collaborative suite providing an email server and a web client. Among other services […]

GlassFish is an open-source application server project started by Sun Microsystems for the Java EE platform, then sponsored by Oracle […]

Java is a high-level object-oriented programming language and computing platform intended to let application developers write once and run everywhere. […]

Let's Connect

Unleash the full potential of your business with CloudSpinx. Our expert solutions specialists are standing by to answer your questions and tailor a plan that perfectly aligns with your unique needs.
You will get a response from our solutions specialist within 12 hours
We understand emergencies can be stressful. For immediate assistance, chat with us now

Contact CloudSpinx today!

Download CloudSpinx Profile

Discover the full spectrum of our expertise and services by downloading our detailed Company Profile. Simply enter your first name, last name, and email address.