Skip to content
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

Updating system #39700

Closed
sadesakaswl opened this issue Jun 18, 2020 · 7 comments
Closed

Updating system #39700

sadesakaswl opened this issue Jun 18, 2020 · 7 comments

Comments

@sadesakaswl
Copy link

@sadesakaswl sadesakaswl commented Jun 18, 2020

"Go get" command is useless.You can use old versions in linux.We want "rustup update stable" like updating system("go update version/latest")."Go get" command must be for getting libraries etc.

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jun 19, 2020

Hi there,

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For discussion or questions, see:

If you believe there is a bug, please answer the 5 questions in the issue template:

  1. What version of Go are you using (go version)?
  2. What operating system and processor architecture are you using (go env)?
  3. What did you do?
  4. What did you expect to see?
  5. What did you see instead?

Without that information, it's hard to understand where the problem is.

See CONTRIBUTING.md#filing-issues and golang.org/wiki/Questions for more information.

Thank you.

@sadesakaswl
Copy link
Author

@sadesakaswl sadesakaswl commented Jun 19, 2020

I installed golang my ubuntu via apt-get(installs 1.13.8) and i entered "go get golang.org/dl/go1.14.4" after bash can't found go1.14.4(I know because of PATH environment).So "go upgrade" command can be add(like flutter) and we do not need change PATH on every installing.(I can't add this request list sorry)

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jun 19, 2020

It shouldn't be necessary to change PATH after each install. The go1.14.4 binary and others like it get installed in $HOME/go/bin by default, so if you add that one location to PATH, it should work for all future Go versions.

@sadesakaswl
Copy link
Author

@sadesakaswl sadesakaswl commented Jun 19, 2020

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jun 19, 2020

I reinstalled golang and bin folder changed now

What was it before? What did it change to?

@sadesakaswl
Copy link
Author

@sadesakaswl sadesakaswl commented Jun 19, 2020

Before it was in /bin folder as linked(/usr/lib/go-1.13) and after /usr/bin as linked(/usr/lib/go-1.13)

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jun 19, 2020

Those paths don't look related to the $HOME/go/bin path I mentioned earlier. There may be an issue, but it's hard to know where it is.

Please take a look at the existing Go installation instructions at https://golang.org/doc/install, and the install troubleshooting wiki page at https://golang.org/wiki/InstallTroubleshooting.

If you're still having a problem, it'll be easier to get to the bottom of it by using one of the mediums listed at https://golang.org/wiki/Questions, as they're better suited for discussing these kind of questions. If you think there's something specific we should change, please open a new issue and fill in the template fully. I'll close this now.

@dmitshur dmitshur closed this Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.