Installing WINE

Systems Experience Validation and Systems Experience Player require WINE to be installed to execute Windows models on Linux. The following scenario shows how to install WINE 4.0


Before you begin: In a shell, enter in the /tmp directory and execute the following commands as a nonroot user.
See Also
About Add-On Installation
  1. 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.
  2. To extract the file, run:

    tar -xvf <source_tar> -C /tmp/
    Where <source_tar> is wine-4.0.tar.xz.

  3. To build 32-bit and 64-bit WINE installer versions, run the following commands:

    Recommendation: Compile and build WINE installer as a nonroot user.

    1. Create two directories to build WINE 32-bit and 64-bit versions:

      cd wine-4.0
      mkdir -p wine32 wine64

    2. To build the 64-bit version, run:

      cd wine64
      ../configure --enable-win64
      make

    3. 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

  4. To install WINE, run the following commands.

    Note: During the installation process, you are prompted to enter the root password.

    1. Install first the 32-bit version in the wine32 directory:

      make install

    2. Install the 64-bit version in the wine64 directory:

      make install

    Note: The installation may take up to 20-30 minutes for completion.