aboutsummaryrefslogtreecommitdiff
path: root/_content/doc
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2021-02-19 15:27:30 -0500
committerDmitri Shuralyov <dmitshur@golang.org>2021-02-25 16:48:15 +0000
commit65c83740113547629052d38de46b57b708ec6e2b (patch)
tree0b6625b4997fe04225c129be9e53cb86e7645df3 /_content/doc
parentf1b7164c9ee200f6fa404b5d05201da62e9437f9 (diff)
downloadgo-x-website-65c83740113547629052d38de46b57b708ec6e2b.tar.xz
_content/doc: highlight 'remove old Go tree' step before extracting
Fixes golang/go#44426. Change-Id: Ie7eb15c239e522d28412a4d8fe2db37bab55f4a4 Reviewed-on: https://go-review.googlesource.com/c/website/+/294369 Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to '_content/doc')
-rw-r--r--_content/doc/install.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/_content/doc/install.html b/_content/doc/install.html
index d02d260e..5055be06 100644
--- a/_content/doc/install.html
+++ b/_content/doc/install.html
@@ -79,19 +79,20 @@
class="TabSection-tabPanel"
aria-labelledby="linux"
>
- <p>
- If you have a previous version of Go installed, be sure to
- <a href="manage-install">remove it</a> before installing another.
- </p>
<ol>
<li>
- Download the archive and extract it into /usr/local, creating a Go tree
+ Extract the archive you downloaded into /usr/local, creating a Go tree
in /usr/local/go.
<p>
+ <strong>Important:</strong> This step will remove a previous
+ installation at /usr/local/go, if any, prior to extracting.
+ Please back up any data before proceeding.
+ </p>
+ <p>
For example, run the following as root or through <code>sudo</code>:
</p>
<pre>
-tar -C /usr/local -xzf <span id="linux-filename">go1.14.3.linux-amd64.tar.gz</span>
+rm -rf /usr/local/go && tar -C /usr/local -xzf <span id="linux-filename">go1.14.3.linux-amd64.tar.gz</span>
</pre
>
</li>