From ce06e15e2a74de89d13e648760f75da7262d0149 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 26 Mar 2012 13:59:30 +1100 Subject: [PATCH] doc: make installation instructions more skim-friendly R=golang-dev, r CC=golang-dev https://golang.org/cl/5908052 --- doc/install.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/install.html b/doc/install.html index c8b1cf4cf58..1c8f9942f38 100644 --- a/doc/install.html +++ b/doc/install.html @@ -24,7 +24,7 @@ For information about installing gccgo, see Setting up and using gccgo.

-

Obtaining the Go tools

+

Download the Go tools

Visit the @@ -47,7 +47,7 @@ OS/arch combination you may want to try installing gccgo instead of gc.

-

Installing the Go tools

+

Install the Go tools

The Go binary distributions assume they will be installed in @@ -84,15 +84,17 @@ rm -r /usr/local/go

-Extract the archive into /usr/local, creating a Go tree in -/usr/local/go: +Extract the archive +into /usr/local, creating a Go tree in /usr/local/go:

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

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

+

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

Add /usr/local/go/bin to the PATH environment @@ -107,7 +109,8 @@ export PATH=$PATH:/usr/local/go/bin

Mac OS X

-Open the .pkg file and follow the prompts to install the Go tools. +Open the package file +and follow the prompts to install the Go tools. The package installs the Go distribution to /usr/local/go.

@@ -129,7 +132,8 @@ and a zip archive that requires you to set some environment variables.

MSI installer

-Open the .msi file and follow the prompts to install the Go tools. +Open the MSI file +and follow the prompts to install the Go tools. By default, the installer puts the Go distribution in c:\Go.

@@ -142,8 +146,8 @@ command prompts for the change to take effect.

Zip archive

-Extract the .zip file to the directory of your choice (we -suggest c:\Go). +Extract the ZIP file +to the directory of your choice (we suggest c:\Go).

@@ -164,7 +168,7 @@ versions of Windows provide this control panel through the "Advanced System Settings" option inside the "System" control panel.

-

Testing your installation

+

Test your installation

Check that Go is installed correctly by building a simple program, as follows.