How To Install Wine 7 on CentOS 8

Install wine 7 on centOS 8; Through this tutorial, we will learn how to install wine 7 on centOS 8.

Basically, Wine is an open-source, free and easy-to-use program. Windows programs run on CentOS machines using Wine software.

How To Install Wine 7 on CentOS 8

Just follow the following steps to install wine 7 on centOS 8:

  • Step 1 – Update System Packages
  • Step 2 – Install Software Building Packages
  • Step 3 – Install Wine 7 on CentOS
  • Step 4 – Verify Wine 7 Installation

Step 1 – Update System Packages

First of all, open a terminal and execute the following command on the terminal to update system packages:

sudo dnf -y update

Step 2 – Install Software Building Packages

Now, execute the following command on the terminal to install software building packages:

sudo dnf groupinstall 'Development Tools' -y
sudo dnf -y install epel-release
sudo dnf config-manager --set-enabled powertools
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 

Step 3 – Install Wine 7 on CentOS

It is necessary to have wget in the system. With the help of wGet we can install wine 7 in centos. So execute the following command on terminal to install wGet in centOS:

sudo dnf -y install wget

Install wine 7 on the centos system by executing the following command on terminal:

curl -O https://dl.winehq.org/wine/source/7.0/wine-7.0.tar.xz

Extract the file downloaded using tar.

tar xvf wine-7.0.tar.xz

Compile and build Wine 7 on CentOS 8:

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

Step 4 – Verify Wine 7 Installation

Verify wine 7 installation on centOS system by executing the following command on terminal:

wine64 --version

or need any help in wine 7 then we have to use wine 7 command for any help:

wine --help

Conclusion

That’s it, Through this tutorial, we have learned how to install wine 7 on centOS 8.



Images mentioned above related to CentOS are either copyright property of respective image owners.

Rabins Sharma Lamichhane

Rabins Sharma Lamichhane is senior ICT professional who talks about #it, #cloud, #servers, #software, and #innovation. Rabins is also the first initiator of Digital Nepal. Facebook: rabinsxp Instagram: rabinsxp

Leave a Reply

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