taylorskalyo/goreader

goreader: command not found

Closed this issue · 2 comments

1094 commented

I have never used go before, but I have been looking for a good (and maintained) terminal epub reader for a while.

I installed go and then I followed the directions in the read me, but either bash or zsh can find the program. Can you help me figure out what I'm missing?

This doesn't sound like an issue with goreader specifically, but I'm happy to help regardless. I think what's happening is that the directory go uses to store binaries ($HOME/go/bin by default) hasn't been added to your PATH environment variable. I would try adding the following to your .bashrc or .zshrc file:

export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH/bin"

https://stackoverflow.com/questions/36083542/error-command-not-found-with-golang
https://wiki.archlinux.org/index.php/Go#.24GOPATH

1094 commented

I wasn't sure where to start looking and my search hadn't returned that Stackoverflow question, so thank you for taking the time to assist. That fixed the problem.

And that I can play with it, I can see that it's awesome and will get a lot of use. Thanks so much for sharing it.