openGauss Setting up the Compilation Environment

·

2 min read

Hardware Requirements

Hardware requirements for compiling the openGauss are as follows:

  • Number of servers: 1

  • Hardware specifications:

    • CPU: 4U (64-bit)

    • Memory: 8 GB

    • Free disk space: 100 GB

Software Requirements

OS Requirements

The following OSs (Linux 64-bit) are supported:

  • CentOS 7.6 (x86_64 architecture)

  • openEuler-20.03-LTS (aarch64 architecture)

  • openEuler-20.03-LTS (x86_64 architecture)

  • Kylin-V10 (aarch64 architecture)

  • Asianux 7.6 (x86_64 architecture)

  • Asianux 7.5 (aarch64 architecture)

  • FusionOS 22 (aarch64 architecture)

  • FusionOS 22 (x86 architecture)

Software Dependency Requirements

Table Software dependency requirements lists the software requirements for compiling the openGauss.

You are advised to use the default installation packages of the following dependent software in the listed OS installation CD-ROMs or sources. If the following software does not exist, refer to the recommended versions of the software.

Table 1 Software dependency requirements

SoftwareRecommended Version
libaio-devel0.3.109-13
flex2.5.31 or later
bison2.7-4
ncurses-devel5.9-13.20130511
glibc-devel2.17-111
patch2.7.1-10
redhat-lsb_core4.1

Configuring Environment Variables

The environment variable configuration for compiling the openGauss has been written into the one-click compilation and packaging script. Therefore, you do not need to configure the environment variables.

If you do not want to use the one-click compilation script, you need to manually configure environment variables. For details, see Software Compilation and Installation.