From 6b3e3434086133ecba3fa8cc45bf7cca88c64cdb Mon Sep 17 00:00:00 2001 From: Joe Cortopassi Date: Mon, 30 Apr 2018 22:32:33 +0000 Subject: [PATCH] doc: remove GOROOT custom install instruction Setting GOROOT is no longer necessary for custom installation as of 1.10 (reference: https://go-review.googlesource.com/c/go/+/42533). Fixes #25002 Change-Id: Ic3980833ac437b7a20b951df33805ad1071a40ce GitHub-Last-Rev: 156bf6510a21266bfb8397e564635278aa3bb1e5 GitHub-Pull-Request: golang/go#25190 Reviewed-on: https://go-review.googlesource.com/110435 Reviewed-by: Ian Lance Taylor --- doc/install.html | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/doc/install.html b/doc/install.html index ee1516ac47..f3b3f97fb8 100644 --- a/doc/install.html +++ b/doc/install.html @@ -114,31 +114,6 @@ or execute them from the profile using a command such as source $HOME/.profile.

-

Installing to a custom location

- -

-The Go binary distributions assume they will be installed in -/usr/local/go (or c:\Go under Windows), -but it is possible to install the Go tools to a different location. -In this case you must set the GOROOT environment variable -to point to the directory in which it was installed. -

- -

-For example, if you installed Go to your home directory you should add -commands like the following to $HOME/.profile: -

- -
-export GOROOT=$HOME/go1.X
-export PATH=$PATH:$GOROOT/bin
-
- -

-Note: GOROOT must be set only when installing to a custom -location. -

-