seemebaby 发表于 2018-5-21 07:39:43

linux golang的安装

  yum -y install mercurial
  yum -y install git
  yum -y gcc
  

  准备golang的包
  1.4
  http://vdisk.weibo.com/s/dWapX678kW3f?category_id=37&parents_ref=dWapX678rPV7
  

  tar xf go1.4.linux-amd64.tar.gz
  

  vim /etc/profile
  export GOROOT=/usr/local/go
  export PATH=$GOROOT/bin:$PATH
  export GOPATH=/usr/local/go/pkg
  

  source /etc/profile
  验证
  go version
页: [1]
查看完整版本: linux golang的安装