This article will cover how to install Wine 6.x on Rocky Linux 8. Wine is an application that enables users to run Microsoft Windows applications on a Linux system. The latest version of Wine is version 6. Below are some of the new features and improvements of Wine 6:
- Text console redesign
- Vulkan backend for WineD3D
- DirectShow and Media Foundation support
- USB kernel driver
- WebSocket API
- Plug & Play device notifications
- Initial support for Apple SiliconInitial support for Apple Silicon
Installing Wine 6.x on Rocky Linux 8
The steps below will guide us on how to setup Wine 6 on your Rocky Linux environment. You will need to open your terminal on your Rocky Linux desktop environment 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:
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 on Rocky Linux 8
sudo dnf groupinstall 'Development Tools' -y
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: Install Wine 6 on Rocky Linux 8
Download the latest version of Wine.
curl -O https://dl.winehq.org/wine/source/6.x/wine-6.12.tar.xz
Extract the downloaded file:
tar xvf wine-*.tar.xz
Compile and build Wine 6 on Rocky Linux 8:
cd wine-*/ ./configure --enable-win64 make sudo make install
Run the command below to initiate wine configuration.
You will be required to install Wine Mono package
Also install Wine Gecko:
Step 4: Confirm Wine 6 Installation on Rocky Linux 8
Verify the installation on your Rocky Linux 8.
$ 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 Linux system as shown below:
Find similar articles below:
Video Courses to Learn Linux System Administration:
- Linux Mastery: Master the Linux Command Line in 11.5 Hours
- Complete Linux Training Course to Get Your Dream IT Job
- Learn Linux in 5 Days and Level Up Your Career
- Linux Administration Bootcamp: Go from Beginner to Advanced
- Complete Linux Bash Shell Scripting with Real Life Examples
- Linux Shell Scripting: A Project-Based Approach to Learning