From 65c83740113547629052d38de46b57b708ec6e2b Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Fri, 19 Feb 2021 15:27:30 -0500 Subject: _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 Run-TryBot: Dmitri Shuralyov TryBot-Result: Go Bot Reviewed-by: Jay Conrod --- _content/doc/install.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '_content/doc') 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" > -

- If you have a previous version of Go installed, be sure to - remove it before installing another. -

  1. - 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. +

    + Important: This step will remove a previous + installation at /usr/local/go, if any, prior to extracting. + Please back up any data before proceeding. +

    For example, run the following as root or through sudo:

    -tar -C /usr/local -xzf go1.14.3.linux-amd64.tar.gz
    +rm -rf /usr/local/go && tar -C /usr/local -xzf go1.14.3.linux-amd64.tar.gz
     
  2. -- cgit v1.3-6-g1900