在Debian上编译Golang,需要安装以下工具:
build-essential
curl
wget
git
若需管理依赖,还需安装golang-go(从Debian 10起默认包含Go Modules)。
golang-go