我要评分
获取效率
正确性
完整性
易理解

Environment Configuration

Before compiling and building the source code, you need to install the dependent components of the required version.

  1. Install system dependencies.
    1
    2
    3
    4
    dnf install -y \
      --setopt=install_weak_deps=False \
      --setopt=tsflags=nodocs \
      git gcc gcc-c++ make cmake tar gzip
    
  2. Install and verify the Go 1.24.1 toolchain.
    1
    2
    3
    4
    curl -LO https://mirrors.huaweicloud.com/go/go1.24.1.linux-arm64.tar.gz 
    tar -C /usr/local -xzf go1.24.1.linux-arm64.tar.gz
    export PATH=/usr/local/go/bin:$PATH
    go version
    

    The expected output is as follows:

    1
    go version go1.24.1 linux/arm64