Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(167)

Delta Between Two Patch Sets: doc/install.html

Issue 6566065: code review 6566065: [release-branch.go1] doc: fix OS X download links (Closed)
Left Patch Set: Created 11 years, 6 months ago
Right Patch Set: diff -r 2d8bc3c94ecb https://code.google.com/p/go Created 11 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 <!--{ 1 <!--{
2 "Title": "Getting Started", 2 "Title": "Getting Started",
3 "Path": "/doc/install" 3 "Path": "/doc/install"
4 }--> 4 }-->
5 5
6 <h2 id="introduction">Introduction</h2> 6 <h2 id="introduction">Introduction</h2>
7 7
8 <p> 8 <p>
9 Go is an open source project with a BSD-style license. 9 Go is an open source project with a BSD-style license.
10 There are two official Go compiler toolchains: the <code>gc</code> Go compiler 10 There are two official Go compiler toolchains: the <code>gc</code> Go compiler
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 <p> 108 <p>
109 If you are upgrading from an older version of Go you must 109 If you are upgrading from an older version of Go you must
110 first remove the existing version from <code>/usr/local/go</code>: 110 first remove the existing version from <code>/usr/local/go</code>:
111 </p> 111 </p>
112 112
113 <pre> 113 <pre>
114 rm -r /usr/local/go 114 rm -r /usr/local/go
115 </pre> 115 </pre>
116 116
117 <p> 117 <p>
118 Extract <a href="http://code.google.com/p/go/downloads/list?q=OpSys-FreeBSD+OR+O pSys-Linux+OR+OpSys-OSX+AND+Type-Archive">the archive</a> 118 Extract <a href="http://code.google.com/p/go/downloads/list?q=OpSys-FreeBSD+OR+O pSys-Linux+OR+OpSys-OSX+Type-Archive">the archive</a>
119 into <code>/usr/local</code>, creating a Go tree in <code>/usr/local/go</code>: 119 into <code>/usr/local</code>, creating a Go tree in <code>/usr/local/go</code>:
120 </p> 120 </p>
121 121
122 <pre> 122 <pre>
123 tar -C /usr/local -xzf go1.0.2.linux-amd64.tar.gz 123 tar -C /usr/local -xzf go1.0.2.linux-amd64.tar.gz
124 </pre> 124 </pre>
125 125
126 <p> 126 <p>
127 (Typically these commands must be run as root or through <code>sudo</code>.) 127 (Typically these commands must be run as root or through <code>sudo</code>.)
128 </p> 128 </p>
129 129
130 <p> 130 <p>
131 Add <code>/usr/local/go/bin</code> to the <code>PATH</code> environment 131 Add <code>/usr/local/go/bin</code> to the <code>PATH</code> environment
132 variable. You can do this by adding this line to your <code>/etc/profile</code> 132 variable. You can do this by adding this line to your <code>/etc/profile</code>
133 (for a system-wide installation) or <code>$HOME/.profile</code>: 133 (for a system-wide installation) or <code>$HOME/.profile</code>:
134 </p> 134 </p>
135 135
136 <pre> 136 <pre>
137 export PATH=$PATH:/usr/local/go/bin 137 export PATH=$PATH:/usr/local/go/bin
138 </pre> 138 </pre>
139 139
140 <h3 id="osx">Mac OS X package installer</h3> 140 <h3 id="osx">Mac OS X package installer</h3>
141 141
142 <p> 142 <p>
143 Open the <a href="http://code.google.com/p/go/downloads/list?q=OpSys-Darwin+AND+ Type-Installer">package file</a> 143 Open the <a href="http://code.google.com/p/go/downloads/list?q=OpSys-OSX+Type-In staller">package file</a>
144 and follow the prompts to install the Go tools. 144 and follow the prompts to install the Go tools.
145 The package installs the Go distribution to <code>/usr/local/go</code>. 145 The package installs the Go distribution to <code>/usr/local/go</code>.
146 </p> 146 </p>
147 147
148 <p> 148 <p>
149 The package should put the <code>/usr/local/go/bin</code> directory in your 149 The package should put the <code>/usr/local/go/bin</code> directory in your
150 <code>PATH</code> environment variable. You may need to restart any open 150 <code>PATH</code> environment variable. You may need to restart any open
151 Terminal sessions for the change to take effect. 151 Terminal sessions for the change to take effect.
152 </p> 152 </p>
153 153
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 <p> 274 <p>
275 The official mailing list for discussion of the Go language is 275 The official mailing list for discussion of the Go language is
276 <a href="http://groups.google.com/group/golang-nuts">Go Nuts</a>. 276 <a href="http://groups.google.com/group/golang-nuts">Go Nuts</a>.
277 </p> 277 </p>
278 278
279 <p> 279 <p>
280 Bugs should be reported using the 280 Bugs should be reported using the
281 <a href="http://code.google.com/p/go/issues/list">Go issue tracker</a>. 281 <a href="http://code.google.com/p/go/issues/list">Go issue tracker</a>.
282 </p> 282 </p>
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b