Monday, November 23, 2009

Go installation on Gentoo

Go installation on Gentoo was with no error for me.But, here is some steps to permit you to install faster :


- Add variable in user's bashrc :

export GOBIN=$HOME/go/bin/
export PATH=$GOBIN:$HOME/google/depot_tools:"$PATH"

#Go
export GOROOT=$HOME/go
export GOARCH=386
export GOOS=linux
Note : I've create $HOME/go and $HOME/go/bin.

- source ~/etc/bashrc
- If you don't have hg, you will need to install mercurial : emerge dev-util/mercurial




No comments:

Post a Comment