Installing Go in Ubuntu Jaunty
Processor: x86
Operating System: Ubuntu Linux 9.04 Jaunty Jackalope
1. CONFIGURE THE ENVIRONMENT
Set the necessary variables in your .bashrc that is if you are using bash. Assuming you have a 386-descendant processor and you want to keep the installation clean in an external disk (/media/disk).
# Google Go Programming Language Settings export GOROOT=/media/disk/go export GOARCH=386 export GOOS=linux export GOBIN=/media/disk/go/bin
2. INSTALL MERCURIAL.
Easy.
$ sudo easy_install mercurial
Install process,
Searching for mercurial Reading http://pypi.python.org/simple/mercurial/ Reading http://www.selenic.com/mercurial Best match: mercurial 1.3.1 Downloading http://mercurial.selenic.com/release/mercurial-1.3.1.tar.gz Processing mercurial-1.3.1.tar.gz Running mercurial-1.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a3YaRd/mercurial-1.3.1/egg-dist-tmp-VyNqd2 zip_safe flag not set; analyzing archive contents... mercurial.lsprof: module references __file__ mercurial.templater: module references __file__ mercurial.extensions: module references __file__ mercurial.i18n: module references __file__ Adding mercurial 1.3.1 to easy-install.pth file Installing hg script to /usr/local/bin Installed /usr/local/lib/python2.6/dist-packages/mercurial-1.3.1-py2.6-linux-i686.egg Processing dependencies for mercurial Finished processing dependencies for mercurial
