We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 423c7d9 commit 780f007Copy full SHA for 780f007
go/go.install.sh
@@ -0,0 +1,17 @@
1
+cd /opt/
2
+##wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
3
+##wget https://dl.google.com/go/go1.12.12.linux-amd64.tar.gz
4
+##
5
+##wget https://studygolang.com/dl/golang/go1.13.3.linux-amd64.tar.gz
6
+wget https://studygolang.com/dl/golang/go1.12.12.linux-amd64.tar.gz
7
+tar zxvf go1.12.12.linux-amd64.tar.gz
8
+mkdir -p /opt/gopath/bin
9
+mkdir -p /opt/gopath/src
10
+cat >>/etc/profile<<EOF
11
+export GOROOT=/opt/go
12
+export GOPATH=/opt/gopath
13
+export PATH=\$PATH:/opt/gopath/bin:/opt/go/bin
14
+EOF
15
+source /etc/profile
16
+go version
17
+
0 commit comments