在 http://golang.org/dl/下载最新的linux版本,并把它提取到/usr/local目录,在此目录下进行解压缩

sudo tar -xzf go1.9.1.linux-amd64.tar.gz -C /usr/local


然后将/usr/local/go/bin添加到PATH环境变量中,执行 vim /etc/profile
export PATH=$PATH:/usr/local/go/bin

source /etc/profile

bash /etc/profile

这样GO语言部署完成!

相关文章:

  • 2021-05-05
  • 2022-01-11
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2023-03-02
  • 2021-05-03
  • 2022-01-10
猜你喜欢
  • 2022-12-23
  • 2021-08-14
  • 2021-10-23
  • 2021-10-09
  • 2022-12-23
  • 2021-10-23
相关资源
相似解决方案