Skip to content

doc: clarify that GOROOT is only necessary for non-standard install locations #6613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gopherbot opened this issue Oct 18, 2013 · 5 comments
Closed

Comments

@gopherbot
Copy link
Contributor

by nsan1129:

http://golang.org/doc/install needs to be changed to reflect the most current best
practice (and the practice that practically every other document advises), to set the
GOPATH environment variable but not GOROOT. This is a huge potential source of confusion
for newcomers to the language.
@gopherbot
Copy link
Contributor Author

Comment 1 by nsan1129:

I've just carefully reread the directions on that page and I realize that the directions
are actually only related to the installation of go. Perhaps a more explicit description
to that effect should occur in the sentence directly above the code snippet with the
export statements?

@adg
Copy link
Contributor

adg commented Oct 18, 2013

Comment 2:

I agree, if you're skimming you won't notice.

Owner changed to @adg.

Status changed to Accepted.

@gopherbot
Copy link
Contributor Author

Comment 3:

We keep getting people asking about this on IRC, clearly having missed the "If you do
this" part.

@adg
Copy link
Contributor

adg commented Nov 20, 2013

Comment 4:

This issue was closed by revision c497c9e.

Status changed to Fixed.

@adg
Copy link
Contributor

adg commented Nov 28, 2013

Comment 5:

This issue was closed by revision 99800d9524cd.

adg added a commit that referenced this issue May 11, 2015
««« CL 28700043 / 8b3699321603
doc: update installation instructions

Clarify that GOROOT should only be set when using a custom install path.
Remove NetBSD from binary install page (we don't provide binaries).
Remove "What's next" links from installation instructions.
Emphasize "How to Write Go Code" page.

Fixes #6613.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/28700043
»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/34950043
@golang golang locked and limited conversation to collaborators Jun 25, 2016
@rsc rsc unassigned adg Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants