From: Andrew Gerrand
Date: Fri, 21 Sep 2012 19:55:15 +0000 (+1000)
Subject: [release-branch.go1] doc: document OS X tarballs
X-Git-Tag: go1.0.3~14
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4ecd79f337b88d77012f5a6796101ab983407390;p=gostls13.git
[release-branch.go1] doc: document OS X tarballs
««« backport 195e4fc09b2d
doc: document OS X tarballs
R=golang-dev
CC=golang-dev
https://golang.org/cl/6506129
»»»
---
diff --git a/doc/install.html b/doc/install.html
index 66062af28d..347bac6e98 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -103,10 +103,10 @@ Windows users should read the section about setting
environment variables under Windows.
-FreeBSD and Linux
+FreeBSD, Linux, and Mac OS X tarballs
-On FreeBSD and Linux, if you are upgrading from an older version of Go you must
+If you are upgrading from an older version of Go you must
first remove the existing version from /usr/local/go
:
@@ -115,12 +115,12 @@ rm -r /usr/local/go
-Extract the archive
+Extract the archive
into /usr/local
, creating a Go tree in /usr/local/go
:
-tar -C /usr/local -xzf go.release.go1.tar.gz
+tar -C /usr/local -xzf go1.0.2.linux-amd64.tar.gz
@@ -137,10 +137,10 @@ variable. You can do this by adding this line to your /etc/profile
export PATH=$PATH:/usr/local/go/bin
-
Mac OS X
+Mac OS X package installer
-Open the package file
+Open the package file
and follow the prompts to install the Go tools.
The package installs the Go distribution to /usr/local/go
.