Environment Configuration
Before compiling and building the source code, you need to install the dependent components of the required version.
- 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
- 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:
1go version go1.24.1 linux/arm64
Parent topic: Preparations for Development