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

Unified Diff: doc/install.html

Issue 5701052: code review 5701052: doc: instruct freebsd/linux users to rm the old version... (Closed)
Patch Set: diff -r 26372a25493b https://go.googlecode.com/hg Created 13 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/install.html
===================================================================
--- a/doc/install.html
+++ b/doc/install.html
@@ -69,15 +69,25 @@
<h3 id="freebsd_linux">FreeBSD and Linux</h3>
<p>
+On FreeBSD and Linux, if you are upgrading from an older version of Go you must
+first remove the existing version from <code>/usr/local/go</code>:
+</p>
+
+<pre>
+rm -r /usr/local/go
+</pre>
+
+<p>
Extract the archive into <code>/usr/local</code>, creating a Go tree in
-<code>/usr/local/go</code> (typically this must be run as root or through
-<code>sudo</code>):
+<code>/usr/local/go</code>:
</p>
<pre>
tar -C /usr/local -xzf go.release.go1.tar.gz
</pre>
+<p>(Typically these commands must be run as root or through <code>sudo</code>.)</p>
+
<p>
Add <code>/usr/local/go/bin</code> to the <code>PATH</code> environment
variable. You can do this by adding this line to your <code>/etc/profile</code>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

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