]> Cypherpunks repositories - gostls13.git/commitdiff
doc: remove GOROOT custom install instruction
authorJoe Cortopassi <joe@joecortopassi.com>
Mon, 30 Apr 2018 22:32:33 +0000 (22:32 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 12 Jun 2018 03:42:37 +0000 (03:42 +0000)
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 <iant@golang.org>
doc/install.html

index ee1516ac47bfb4bc4f31b43ee4088324baffb472..f3b3f97fb823fc25cb0963b3fda2d4d3e2ba005c 100644 (file)
@@ -114,31 +114,6 @@ or execute them from the profile using a command such as
 <code>source $HOME/.profile</code>.
 </p>
 
-<h4 id="tarball_non_standard">Installing to a custom location</h4>
-
-<p>
-The Go binary distributions assume they will be installed in
-<code>/usr/local/go</code> (or <code>c:\Go</code> under Windows),
-but it is possible to install the Go tools to a different location.
-In this case you must set the <code>GOROOT</code> environment variable
-to point to the directory in which it was installed.
-</p>
-
-<p>
-For example, if you installed Go to your home directory you should add
-commands like the following to <code>$HOME/.profile</code>:
-</p>
-
-<pre>
-export GOROOT=$HOME/go1.X
-export PATH=$PATH:$GOROOT/bin
-</pre>
-
-<p>
-<b>Note</b>: <code>GOROOT</code> must be set only when installing to a custom
-location.
-</p>
-
 </div><!-- tarballInstructions -->
 
 <div id="darwinPackageInstructions">