Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
e10dc82c
Commit
e10dc82c
authored
Feb 27, 2012
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: instruct freebsd/linux users to rm the old version first
R=golang-dev, r CC=golang-dev
https://golang.org/cl/5701052
parent
5876b4eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
doc/install.html
doc/install.html
+12
-2
No files found.
doc/install.html
View file @
e10dc82c
...
...
@@ -68,16 +68,26 @@ export PATH=$PATH:$GOROOT/bin
<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>
...
...
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