Download Mercurial Source Code
(If you just want to use ["Mercurial"] then you might want a [:BinaryPackages: binary package] instead.)
Mercurial is developed using Mercurial, so once you have Mercurial up and running you can get the source by [:Clone: cloning] a [:Repository: repository]. Repositories can be browsed with a web browser and will usually have links for downloading as bz2/zip/gz.
Source code of released versions of Mercurial can be downloaded as usual .tar.gz files at [http://www.selenic.com/mercurial/release/?M=D http://www.selenic.com/mercurial/release/].
The [http://selenic.com/repo/hg-stable hg-stable] repository leads to stable releases - download [http://www.selenic.com/mercurial-stable-snapshot.tar.gz hourly snapshot].
The [http://selenic.com/repo/hg repo] repository is the main development repository - download [http://www.selenic.com/mercurial-snapshot.tar.gz hourly snapshot].
In the spirit of [:DistributedSCM: distributed SCM] alternative versions can be found in several DeveloperRepos.
Once you have the source code, continue on to:
UnixInstall (good for Linux and MacOS X, too)