Advance

Tutorial Install WINE on AlmaLinux 8.4 or 8.5

Tutorial Install WINE on AlmaLinux 8.4 or 8.5

If you want to run a program on AlmaLinux that there is no special version for them on AlmaLinux. In this case, you should use programs that emulate the Windows environment on other platforms. Wine is one of these programs that simulate the Windows environment on other platforms. In this article, we are going to teach you how to Install WINE on AlmaLinux 8.4 or 8.5. To buy a cheap Linux VPS with Instant Activation, order what you need on Eldernode.

How to Install WINE on AlmaLinux

Wine is a free and open-source program on Linux, Mac and Android that allows you to run Windows applications and games and EXE files on these platforms.

Install WINE on AlmaLinux 8.4 or 8.5

A) You need to update the system packages by the following commands:

sudo dnf update

There is no official Wine repository for AlmaLinux and you have to build it from the source. You need to use the development tools and some other required dependencies in Epel to build the source code. Now you can enable it with the help of the following command:

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

In this step, you should install the development tools that you need to build the Wine Source code on your AlmaLinux system. To do this, run the following command:

sudo dnf groupinstall 'Development Tools' -y

Now you should install additional dependencies by the following command:

sudo dnf -y install gcc libX11-devel freetype-devel zlib-devel \  libxcb-devel libxslt-devel libgcrypt-devel libxml2-devel \  gnutls-devel libpng-devel libjpeg-turbo-devel \  libtiff-devel dbus-devel fontconfig-devel

Next press Enter to start the installation.

Now it’s time to download Wine. You can check out the desired versions of Wine on the official page. To do this use the following commands:

sudo dnf -y install wget
wget https://dl.winehq.org/wine/source/6.x/wine-6.1.tar.xz

Note: attention to the given version number and change it if necessary.

Finally, you should install the Wine on the AlmaLinux system:

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

How to Check version of Wine on AlmaLinux

You can check the version of Wine by the following command:

wine64 --version

Finally, you can start installing Windows programs on your AlmaLinux.

win64 ./path-to-your file.exe

 

Conclusion

This article taught you how to install Wine on AlmaLinux 8.4 or 8.5. If you want to use graphical Microsoft Windows applications on your AlmaLinux system, you can install Wine. I hope this tutorial was useful for you.

View More Posts
Tom Veitch
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.
  • Jason
    Jason
    3 weeks ago

    Everything worked very well until I tried to run this command:
    ./configure –enable-win64

    Configure: error: X 64-bit development files not found. Wine will be built
    without X support, which probably isn’t what you want. You will need
    to install 64-bit development packages of Xlib at the very least.
    Use the –without-x option if you really want this.

    TY Jason

    Reply
    • Michael Morgan
      Michael Morgan
      3 weeks ago

      Install following these dependency packages:

      sudo apt-get install xorg-dev libx11-dev

      Reply

Leave Your Comment

Your email address will not be published.

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day