This is for x86 processors. You need to change the 386 to amd64 if that’s your chip architecture.
First create a bin directory in your home directory if you don’t have one already:
Then edit your .bashrc file and add:
export GOROOT=$HOME/go export GOOS=linux export GOARCH=386 export PATH=$PATH:$HOME/bin
Then reread your bashrc file:
You’ll need some packages installed to build it:
sudo apt-get install bison gcc libc6-dev mercurial
Now check out the code and build it:
hg clone -r release https://go.googlecode.com/hg/ $GOROOT
One of my laptops that gets heavy use is a very old IMB T41. It’s currently getting upgraded to the first BETA release of Ubuntu 8.04.
I’ll follow up with some thoughts on how it works after it’s finished.
Read. Mull, then act: