$ sudo apt-get install mercurial
$ sudo apt-get install python-setuptools $ sudo easy-install selenium