CentOS安装 Go 环境 安装 下面的命令会在基于Red Hat的发行版中安装Go语言和它的工具。 sudo yum install golang 检查Go语言的版本来验证安装。 go version