1
0
mirror of https://github.com/golang/go synced 2024-11-13 12:30:21 -07:00

[release-branch.go1] doc: clarify that the displayed tar file name is an example

««« CL 6573065 / 49b27543b08b
doc: clarify that the displayed tar file name is an example

R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/6573065
»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/6571068
This commit is contained in:
Andrew Gerrand 2012-09-27 15:36:22 -07:00
parent 94ee5f6049
commit 08b97d4061

View File

@ -116,13 +116,19 @@ rm -r /usr/local/go
<p>
Extract <a href="http://code.google.com/p/go/downloads/list?q=OpSys-FreeBSD+OR+OpSys-Linux+OR+OpSys-OSX+Type-Archive">the archive</a>
into <code>/usr/local</code>, creating a Go tree in <code>/usr/local/go</code>:
into <code>/usr/local</code>, creating a Go tree in <code>/usr/local/go</code>.
For example:
</p>
<pre>
tar -C /usr/local -xzf go1.0.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.0.3.linux-amd64.tar.gz
</pre>
<p>
The name of the archive may differ, depending on the version of Go you are
installing and your system's operating system and processor architecture.
</p>
<p>
(Typically these commands must be run as root or through <code>sudo</code>.)
</p>