-
Notifications
You must be signed in to change notification settings - Fork 18
remove /usr/share/gocode and ~/.local/gocode from $GOPATH #156
base: master
Are you sure you want to change the base?
Conversation
note that $PATH should also include $GOROOT/bin, which is typically 'PATH=$PATH:/usr/local/go/bin'
Hi, and thanks for the pull request :) Could you describe what are the issues you encounter with go, and what is special about |
@KellerFuchs , in recent Go versions, GOPATH variable is ~/go by default $GOPATH should be user writable, and is where all user source live To give an example,
I had to Also, 'System-wide install of go packages' doesn't make sense. Things like gocode, godoc, goimports, and other go tools can still be in /usr/share/gocode/bin but just added to $PATH GOROOT is usually /usr/local/go and contains a full go tree, including source and go tools such as godoc, and the go compiler 'go' $GOROOT/bin must be placed before /usr/bin because /usr/bin/go is go version go1.3.3 linux/amd64 which is way outdated |
@aerth As said on IRC, Debian has Go lib packages that do install their sources under Regarding |
BTW, this is how you can check which versions of a package are in the Debian archive:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for merging this after #153.
This will work with PR #153 to allow users to use go right away