一,go语言 linux
1,安装
$ uname -a
Linux VM_6_21_centos 3.10.0-1062.1.1.el7.x86_64 x86_64 x86_64 GNU/Linux
-- 一般可以先不安装,按照报错,具体安装-----------------
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:gophers/go
$ sudo apt-get update
$ sudo apt-get install golang-stable git-core mercurial
$ sudo yum install python-software-properties
$ sudo yum update
$ sudo yum install golang-stable git-core mercurial
--------------------------------------------------------
$ cd
$ wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz
$ tar -C /usr/local -zxvf go1.10.3.linux-amd64.tar.gz
$ cd /usr/local
$ mv go1.10.3.linux-amd64 go
$