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
Milestone

Comments

@tutoraddicts
Copy link

@tutoraddicts 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 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 Aug 2, 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
3 participants
You can’t perform that action at this time.