Installation (X11)

Prerequisites

Ensure that the source is available. Run the following command as the root user to check whether the source is valid:
  • For Ubuntu and other OSs that use APT as the package management software
    apt-get update
  • For CentOS, EulerOS, openEuler, and other OSs that use Yum or DNF as the package management software
    yum makecache

Procedure

  1. Run the following commands to install the library file on which the MindStudio Insight running depends.
    • For Ubuntu and other OSs that use APT as the package management software
      sudo apt install -y libwebkit2gtk-4.0-dev
    • For CentOS, EulerOS, openEuler, and other OSs that use Yum or DNF as the package management software
      1. Run the following command to query the webkit2gtk library file:
        sudo yum search webkit2gtk

        The command output is as follows:

        1
        2
        3
        4
        5
        6
        7
        8
        9
        = Name and Summary match: webkit2gtk =====================================================================================
        webkit2gtk3-devel.aarch64 : Development files for webkit2gtk3
        webkit2gtk3-help.noarch : Documentation files for webkit2gtk3
        webkit2gtk3-jsc.aarch64 : JavaScript engine from webkit2gtk3
        webkit2gtk3-jsc-devel.aarch64 : Development files for JavaScript engine from webkit2gtk3
        ========================================================================================== Name match: webkit2gtk ===========================================================================================
        webkit2gtk3.aarch64 : GTK+ Web content engine library
        ========================================================================================= Summary match: webkit2gtk =========================================================================================
        libproxy-webkitgtk4.aarch64 : plugin for webkit2gtk3
        
      2. Run the following command to install the webkit2gtk library file based on the command output:
        sudo yum install -y ${Dependency_name}

        Dependency_name indicates the dependency file name, which can be determined based on the command output. For example, if webkit2gtk3-devel is displayed in the command output, the dependency file name is webkit2gtk3-devel. If webkit2gtk3-devel is not displayed in the command output, webkit2gtk3 needs to be found, and the dependency file name is webkit2gtk3.

      EulerOS 2.12 is developed based on openEuler 22.03 LTS SP1. You need to configure the openEuler 22.03 LTS SP1 source and then run the installation command. For details about how to configure the openEuler source, see Configuring the openEuler Software Source.

  2. Run the following command to install the dependency file for X11 forwarding in MindStudio Insight:
    • For Ubuntu and other OSs that use APT as the package management software
      sudo apt-get install -y xterm x11-apps
    • For CentOS, EulerOS, openEuler, and other OSs that use Yum or DNF as the package management software
      sudo yum install -y xterm xorg-x11-xauth