File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ You can use the 'remove' option to undo update-golang.sh work:
6161Example
6262=======
6363
64+ Sample session:
65+
6466 lab@ubu1:~$ go
6567 The program 'go' can be found in the following packages:
6668 * golang-go
@@ -114,17 +116,17 @@ Customization
114116
115117These environment variables are available for customization:
116118
117- SOURCE =https://storage.googleapis.com/golang ;# download location
118- DESTINATION=/usr/local ;# install destination
119- RELEASE=1.8.3 ;# golang release
120- OS=linux ;# os
121- ARCH_PROBE=uname -m ;# arch detection
122- ARCH=amd64 ;# arch
123- PROFILED=/etc/profile.d/golang_path.sh ;# update PATH, optionally set GOROOT
124- CACHE=/usr/local ;# cache downloads
125- GOPATH=
126- DEBUG=
127-
119+ RELEASE_LIST =https://golang.org/doc/devel/release.html ;# search for new releases from this url
120+ SOURCE=https://storage.googleapis.com/golang ;# download source location
121+ DESTINATION=/usr/local ;# install destination
122+ RELEASE=1.8.3 ;# force golang release
123+ OS=linux ;# force os
124+ ARCH_PROBE='uname -m' ;# force arch detection command
125+ ARCH=amd64 ;# force arch
126+ PROFILED=/etc/profile.d/golang_path.sh ;# update PATH, optionally set GOROOT
127+ CACHE=/usr/local ;# cache downloads in this dir
128+ GOPATH= ;# use this GOPATH
129+ DEBUG= ;# set to enable debug
128130
129131Example:
130132
You can’t perform that action at this time.
0 commit comments