-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Arch linux support / installation? #262
Comments
On most Linux distributions, it looks something like this:
Arch Linux should be the same. Basically, GOROOT is the system bit that's shared between all users on the system, GOPATH is just for you and contains a bin/, src/ and pkg/ directory. When you run go get, it should end up in GOPATH. |
Hi @Sentimentron, Thanks for taking the time to respond, and for the clarifications! It seems like my system is indeed configured properly then, but for some reason, the source code is not be pulled, e.g.:
I also tried adding the "-d" switch, which, according to the help:
But that had no impact either.. Any ideas what the issue could be? Also, Is the note about $GOPATH including $GOROOT + "bin/" OS X specific then? If so, perhaps it could be useful to add a note in the README to that effect? Version Info:
|
Greetings!
I noticed that the golearn Wiki currently only lists Ubuntu/OpenSUSE as being supported linux platforms.
Is this still the case?
I started following the installation instructions, just to see if it would work, but I ran into issues related to the handling of
GOROOT
/GOPATH
..Whereas golearn suggests setting
GOROOT=$HOME/go
and$GOPATH=$HOME/go/bin
, the arch wiki suggests thatGOPATH
should be~/go
instead.When I attempted to follow the conventions from the golearn install docs, when attempting to call
go get
, I run into the following issue:(
compile
lives/usr/lib/go/pkg/tool/linux_amd64/
on arch linux, where$GOROOT
is typically set to/usr/lib/go
...)When attempting to use the Arch conventions, the
go get
command succeeds, but the source code for golearn doesn't appear to be pulled, so the$GOPATH/src/github.com/sjwhitworth/golearn
path does not exist.It seems likely that I'm simply misunderstanding something about how
GOPATH
andGOROOT
work, and how they interact withgo get
..Has anyone had luck working with golearn on arch linux?
Any advice would be greatly appreciated.
The text was updated successfully, but these errors were encountered: