Skip to content

Commit 16cb45d

Browse files
authored
Update 2017-4-11-centos-install-go1.7-git-cronolog.md
1 parent 8621936 commit 16cb45d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

_posts/go/2017-4-11-centos-install-go1.7-git-cronolog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ sudo yum install git-all
77

88
# install go1.7
99

10+
## method1
11+
1012
go download page https://golang.org/dl/
1113

1214
```
@@ -27,6 +29,13 @@ Output
2729
sudo tar -C /usr/local -xvzf go1.7.5.linux-amd64.tar.gz
2830
```
2931

32+
## mehtod2
33+
34+
```
35+
yum install golang
36+
```
37+
38+
## config go env
3039
```
3140
sudo vi /etc/profile.d/path.sh
3241
```

0 commit comments

Comments
 (0)