diff --git a/doc/install.html b/doc/install.html index eff2b30fffa..9252a5935dc 100644 --- a/doc/install.html +++ b/doc/install.html @@ -94,12 +94,7 @@ environment variables under Windows.

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
-
+first remove the existing version.

Extract the archive @@ -150,7 +145,7 @@ Terminal sessions for the change to take effect. The Go project provides two installation options for Windows users (besides installing from source): a zip archive that requires you to set some environment variables and an -experimental MSI installer that configures your installation automatically. +MSI installer that configures your installation automatically.

Zip archive

@@ -169,7 +164,7 @@ the GOROOT environment variable to your chosen path. Add the bin subdirectory of your Go root (for example, c:\Go\bin) to your PATH environment variable.

-

MSI installer (experimental)

+

MSI installer

Open the MSI file @@ -275,3 +270,26 @@ The official mailing list for discussion of the Go language is Bugs should be reported using the Go issue tracker.

+ + +

Uninstalling Go

+ +

+To remove an existing Go installation from your system delete the +go directory. This is usually /usr/local/go +under Linux, Mac OS X, and FreeBSD or c:\Go +under Windows. +

+ +

+You should also remove the Go bin directory from your +PATH environment variable. +Under Linux and FreeBSD you should edit /etc/profile or +$HOME/.profile. +If you installed Go with the Mac OS X package then you +should remove the /etc/paths.d/go file. +Windows users should read the section about setting +environment variables under Windows. +

+ +