Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
218f08a9
Commit
218f08a9
authored
Sep 18, 2012
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: document OS X tarballs
R=golang-dev CC=golang-dev
https://golang.org/cl/6506129
parent
79de0d00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
install.html
doc/install.html
+6
-6
No files found.
doc/install.html
View file @
218f08a9
...
...
@@ -103,10 +103,10 @@ Windows users should read the section about <a href="#windows_env">setting
environment variables under Windows
</a>
.
</p>
<h3
id=
"freebsd_linux"
>
FreeBSD
and Linux
</h3>
<h3
id=
"freebsd_linux"
>
FreeBSD
, Linux, and Mac OS X tarballs
</h3>
<p>
On FreeBSD and Linux, i
f you are upgrading from an older version of Go you must
I
f you are upgrading from an older version of Go you must
first remove the existing version from
<code>
/usr/local/go
</code>
:
</p>
...
...
@@ -115,12 +115,12 @@ rm -r /usr/local/go
</pre>
<p>
Extract
<a
href=
"http://code.google.com/p/go/downloads/list?q=OpSys-FreeBSD+OR+OpSys-Linux"
>
the archive
</a>
Extract
<a
href=
"http://code.google.com/p/go/downloads/list?q=OpSys-FreeBSD+OR+OpSys-Linux
+OR+OpSys-OSX+AND+Type-Archive
"
>
the archive
</a>
into
<code>
/usr/local
</code>
, creating a Go tree in
<code>
/usr/local/go
</code>
:
</p>
<pre>
tar -C /usr/local -xzf go
.release.go1
.tar.gz
tar -C /usr/local -xzf go
1.0.2.linux-amd64
.tar.gz
</pre>
<p>
...
...
@@ -137,10 +137,10 @@ variable. You can do this by adding this line to your <code>/etc/profile</code>
export PATH=$PATH:/usr/local/go/bin
</pre>
<h3
id=
"osx"
>
Mac OS X
</h3>
<h3
id=
"osx"
>
Mac OS X
package installer
</h3>
<p>
Open the
<a
href=
"http://code.google.com/p/go/downloads/list?q=OpSys-Darwin"
>
package file
</a>
Open the
<a
href=
"http://code.google.com/p/go/downloads/list?q=OpSys-Darwin
+AND+Type-Installer
"
>
package file
</a>
and follow the prompts to install the Go tools.
The package installs the Go distribution to
<code>
/usr/local/go
</code>
.
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment