-
To download WINE 4.0 source files from https://www.winehq.org/announce/4.0.2, open a shell
and run:
wget <source_tar_link> Where
<source_tar_link> is the source link for WINE 4.0 that you can find
here: https://dl.winehq.org/wine/source/4.0/wine-4.0.2.tar.xz.
The file is downloaded in the /tmp directory.
-
To extract the file, run:
tar -xvf <source_tar> -C /tmp/ Where
<source_tar> is wine-4.0.tar.xz .
-
To build 32-bit and 64-bit WINE installer versions, run the following commands:
Recommendation:
Compile and build WINE installer as a nonroot user.
-
Create two directories to build WINE 32-bit and 64-bit versions:
cd wine-4.0
mkdir -p wine32 wine64
-
To build the 64-bit version, run:
cd wine64
../configure --enable-win64
make
-
To build the 32-bit version, run:
Note:
The 32-bit version requires the 64-bit version to be compiled.
cd wine32
../configure --with-wine64=../wine64
make
Note:
Depending on your server configurations, a
warning can arise. In this case, use the following command:../configure
--with-wine64=../wine64 --without-x --without-freetype
-
To install WINE, run the following commands.
Note:
During the installation process, you are prompted to enter the root
password.
-
Install first the 32-bit version in the
wine32 directory:
make install
-
Install the 64-bit version in the
wine64 directory:
make install
Note:
The installation may take up to 20-30 minutes for completion.
|