如何安装Go

I want to install Go. I prepared system for support language. But sadly, I can't find Bison and libc6-dev following this command.

sudo apt-get install bison ed gawk gcc libc6-dev make

Then I still can't find the suitable Mercurial for Ubuntu 8.10, which is followed this command.

apt-get install python-setuptools python-dev build-essential

Therefore everyone please guide what I should do in order to install Go completely. My OS is Ubuntu version 8.10. Notice you can post the direct link for me to get packets/files.

After installing setuptools et al., the go installation instructions say that you should install mercurial with easy-install, i.e. sudo easy_install mercurial. Are you having trouble with easy_install?

Mercurial can typically be installed with

sudo apt-get install mercurial

The package is in universe, which you may not have enabled. The full guide, if you need it, is available here:

https://help.ubuntu.com/community/Mercurial