sudo apt-get install build-essential gcc python-dev python-setuptools
sudo easy_install -U mercurial