Ching-Chuan Chen's Blogger

Statistics, Machine Learning and Programming

0%

Installations of Go 1.10 in CentOS 7.4

簡單記錄一下在CentOS 7.4安裝Go 1.10

1
2
3
4
5
6
7
8
wget https://dl.google.com/go/go1.10.1.linux-amd64.tar.gz
tar -zxvf go1.10.1.linux-amd64.tar.gz
mv go /usr/local
tee -a /etc/profile << "EOF"
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
EOF
source /etc/profile