Source packages

After getting the source, continue to UnixInstall or WindowsInstall for help with installing.

Binary packages

If you have Python and setuptools installed, you can also use easy_install.

1. Windows

2. Mac OS X

3. Linux (.deb)

Mercurial (from 1.0 onwards) is packaged for Debian-related distributions as two packages, mercurial and mercurial-common - you only need to care about this if you are downloading .deb files for manual installation - otherwise, APT dependency handling will take care of this for you when you install mercurial.

4. Linux (.rpm)

5. Linux (others)

6. Solaris

7. BSD

Using easy_install

If you already have Python installed, you can install the latest version of Mercurial using easy_install:

 easy_install -U mercurial 

This is also the easiest way of installing a Mercurial newer than the one provided by your distribution.

If you have Python, but not easy_install, grab it from http://peak.telecommunity.com/DevCenter/EasyInstall.

Note: you may need the python-dev package to run easy_install.