cakin24 阅读(48) 评论(0)

一 下载地址

https://www.golangtc.com/download
 
二 下载文件名
go1.8.3.linux-amd64.tar.gz
 
三 Linux下的安装方法
[root@localhost ~]# tar -zxf go1.8.3.linux-amd64.tar.gz -C /usr/local
 
四 检验安装结果
  1. [root@localhost ~]# cd /usr/local
  2. [root@localhost local]# ls
  3. bin etc games go include jdk1.8.0_111 jdk-8u111-linux-x64.tar.gz lib lib64 libexec sbin share src
  4. [root@localhost local]# cd go
  5. [root@localhost go]# ls
  6. api bin CONTRIBUTING.md doc lib misc pkg robots.txt test
  7. AUTHORS blog CONTRIBUTORS favicon.ico LICENSE PATENTS README.md src VERSION
  8. [root@localhost go]# bin/go version
  9. go version go1.8.3 linux/amd64