I am kind of new to both, Mercurial and Ubuntu.
I seem to have awkwardly installed a few other software packages already, so I wanted to see how others would go about do
Yeah you can install it by just
sudo apt-get install mercurial
but for me it gave very old version (2.0.2). You can check this by hg version
. To get the newer version you can do
sudo apt-get install python-setuptools python-dev build-essential
sudo easy_install -U mercurial
Now I have 3.0.1 version
aniket@ubuntu:~$ hg version
Mercurial Distributed SCM (version 3.0.1)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2014 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
More details : Installing Mercurial on Linux
PS: Above link goes to my personal blog which has additional details.