diff --git a/doc/install.html b/doc/install.html index e99b60dc091..217b52a0e65 100644 --- a/doc/install.html +++ b/doc/install.html @@ -68,16 +68,26 @@ export PATH=$PATH:$GOROOT/bin

FreeBSD and Linux

+

+On FreeBSD and Linux, if you are upgrading from an older version of Go you must +first remove the existing version from /usr/local/go: +

+ +
+rm -r /usr/local/go
+
+

Extract the archive into /usr/local, creating a Go tree in -/usr/local/go (typically this must be run as root or through -sudo): +/usr/local/go:

 tar -C /usr/local -xzf go.release.go1.tar.gz
 
+

(Typically these commands must be run as root or through sudo.)

+

Add /usr/local/go/bin to the PATH environment variable. You can do this by adding this line to your /etc/profile