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

x/website: #40534

Closed
tutoraddicts opened this issue Aug 2, 2020 · 1 comment
Closed

x/website: #40534

tutoraddicts opened this issue Aug 2, 2020 · 1 comment

Comments

@tutoraddicts
Copy link

tutoraddicts commented Aug 2, 2020

It is regarding the instruction about how to install go in linux

here are the steps you mention :

  1. tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gz
  2. export PATH=$PATH:/usr/local/go/bin // yah it is fine but

*** sudo ln -s /usr/local/go/bin/go /bin/go ****
// just symlink the file into bin then we can access go without using the second command every time and it will be easy for other new users to who don't know about this commands.

@gopherbot gopherbot added this to the Unreleased milestone Aug 2, 2020
@ALTree
Copy link
Member

ALTree commented Aug 2, 2020

we can access go without using the second command every time

You add /usr/local/go/bin to PATH in the bash_profile file once, and then you'll always be able to just call go; you don't need to manually export the modified PATH every time you open a terminal. It actually says so:

you can do this by adding this line to your /etc/profile (for a system-wide installation) or $HOME/.profile:

Closing here, since it seems to me you have misunderstood the instructions.

@ALTree ALTree closed this as completed Aug 2, 2020
@golang golang locked and limited conversation to collaborators Aug 2, 2021
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

3 participants