Articles

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 the owner of RabinsXP who is constantly working for increasing the Internet of Things (IoT) in Nepal. He also builds android apps and crafts beautiful websites. He is also working with various social services. The main aim of Lamichhane is to digitally empower the citizens of Nepal and make the world spiritually sound better both in terms of technology and personal development. Rabins is also the first initiator of Digital Nepal.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button