Differences between revisions 1 and 175 (spanning 174 versions)
Revision 1 as of 2007-08-08 04:02:30
Size: 25
Editor: BrendanCully
Comment:
Revision 175 as of 2011-03-11 06:28:10
Size: 8884
Comment: TortoiseHg 2.0.2
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Describe Download here. #pragma section-numbers 2
= Download =
Source archives and binary packages for various systems. See WhatsNew for information on upgrading.

<<TableOfContents>>

== Binary packages ==
=== Windows ===
/!\ '''Like TortoiseSVN, [[http://www.selenic.com/pipermail/mercurial/2010-January/029680.html|we recommend]] to turn off the indexing service on the working copies and repositories, and exclude them from virus scans.''' The following installers can be used from Windows XP on:

 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with !TortoiseHg 2.0.2 and Mercurial 1.8.1 (alternate download: [[https://bitbucket.org/tortoisehg/thg/downloads|Bitbucket]] / [[http://tortoisehg.codeplex.com/releases|CodePlex]])
 * [[https://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.8.1-x86.msi|Mercurial-1.8.1 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.8.1-x64.msi|Mercurial-1.8.1 (64-bit msi)]], needs admin rights to install.
 * [[http://mercurial.selenic.com/release/windows/Mercurial-1.8.1.exe|Mercurial-1.8.1 (32-bit exe)]]/[[http://mercurial.selenic.com/release/windows/Mercurial-1.8.1-x64.exe|Mercurial-1.8.1 (64-bit exe)]], does not need admin rights to install (InnoSetup based).
 * [[https://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.8.1.win32-py2.6.exe|Mercurial-1.8.1 (32-bit py2.6)]] / [[https://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.8.1.win-amd64-py2.6.exe|Mercurial-1.8.1 (64-bit py2.6)]], installs Mercurial as Python modules and thus requires [[http://www.python.org/download/releases/2.6.6/|Python 2.6]] installed, recommended for hgweb setups.
 * [[http://cygwin.com/|cygwin]] can install Mercurial, but the cygwin abstraction layers introduces a potential source of error and is not really recommended.

Most of the above installers are from [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/|thg-winbuild]], which has nightly builds of Mercurial and !TortoiseHg.

=== Mac OS X ===
 * [[http://mercurial.berkwood.com|Mac OS X]] packages (you may have to add `export LC_ALL=en_US.UTF-8` and `export LANG=en_US.UTF-8` to your `~/.profile`)
 * [[http://pdb.finkproject.org/pdb/package.php/mercurial-py25|fink]] - 1.2.1
 * [[http://www.macports.org/|macports]]: install with 'sudo port install mercurial' - 1.4.2

=== Linux (.deb) ===
 * '''Debian'''
  * [[http://packages.debian.org/sid/mercurial|Debian sid (unstable)]] - 1.6.4
   * 1.7.2 available in [[http://packages.debian.org/experimental/mercurial|experimental]] (it's not yet in sid due to the squeeze freeze)
  * [[http://packages.debian.org/squeeze/mercurial|Debian squeeze (testing)]] - 1.6.4
  * [[http://packages.debian.org/lenny/mercurial|Debian lenny (stable)]] - 1.0.1 (1.3.1 available as a [[http://packages.debian.org/lenny-backports/mercurial|lenny backport]])
 * '''Ubuntu'''
  * [[http://packages.ubuntu.com/hardy/mercurial|Ubuntu Hardy]] - 0.9.5 ([[http://packages.ubuntu.com/hardy-backports/mercurial|1.0.1]] available if you [[https://help.ubuntu.com/community/UbuntuBackports|enable backports]])
  * [[http://packages.ubuntu.com/intrepid/mercurial|Ubuntu Intrepid]] - 1.0.1
  * [[http://packages.ubuntu.com/jaunty/mercurial|Ubuntu Jaunty]] - 1.1.2
  * [[http://packages.ubuntu.com/karmic/mercurial|Ubuntu Karmic]] - 1.3.1
  * [[http://packages.ubuntu.com/lucid/mercurial|Ubuntu Lucid]] - 1.4.3
  * '''Launchpad PPAs''' (carrying packages for Hardy, Intrepid, Jaunty and Karmic)
   * [[https://launchpad.net/~mercurial-ppa/+archive/releases|Releases]] - 1.6
   * [[https://launchpad.net/~mercurial-ppa/+archive/stable-snapshots|Stable snapshots]] - daily snapshot of stable DeveloperRepos (warning: untested code)
   * [[https://launchpad.net/~mercurial-ppa/+archive/snapshots|Snapshots]] - daily snapshot of unstable DeveloperRepos (warning: untested code)

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''.

=== Linux (.rpm) ===
 * [[https://rpmrepo.org/RPMforge/Using|RPMforge]]: packages for RHEL 5 and CentOS 5; install using {{{yum install mercurial}}} - 1.5
 * [[http://rpmfind.net/linux/rpm2html/search.php?query=mercurial&submit=Search+...&system=mandriva&arch=|Mandriva]]: install with {{{urpmi mercurial}}} - 1.7.2
 * [[http://koji.fedoraproject.org/koji/packageinfo?packageID=2518|Fedora]] - latest version is available within few days after release, install with {{{yum install '*mercurial}}}*'
 * [[http://fedoraproject.org/wiki/EPEL|Fedora Projects EPEL]] for RHEL and CentOS 5: 1.3.1, install with {{{yum install '*mercurial}}}*'
 * [[http://download.opensuse.org/repositories/devel:/tools:/scm/|openSUSE]] - latest version is available shortly after release in the `devel:tools:scm` repository
 * [[http://arklinux.osuosl.org/dockyard-devel/SRPMS/|Ark Linux]] - 1.6.2
 * [[http://www.openpkg.org/product/packages/?package=mercurial|OpenPKG]] - 1.4

An RPM package can be built from a Mercurial source repository with ''contrib/buildrpm''. It has currently mostly been tested on Fedora.

=== Linux (others) ===
 * [[http://archlinux.org/packages/?q=mercurial|Arch Linux]] - 1.7.2
 * [[http://packages.gentoo.org/package/dev-vcs/mercurial|Gentoo ebuild]]: install with {{{emerge mercurial}}} - 1.4.1/1.5 (1.7 in unstable)
 * [[http://www.t2-project.org/packages/mercurial.html|T2 SDE]] - 1.7.2
 * [[http://ftp.osuosl.org/pub/slackware/slackware-12.2/slackware/d/|Slackware 12.2]] - 1.0.2
 * [[http://ipkg.nslu2-linux.org/feeds/optware/|Optware cross compilation ipk]] - latest for Python 2.4 and 2.5

=== Solaris ===
 * [[http://sunfreeware.com|sunfreeware.com]] - SPARC/Solaris 2.6-10 packages, x86/Solaris 8-10 packages - 1.7.5
 * [[http://www.opencsw.org|OpenCSW]]: [[http://www.opencsw.org/packages/mercurial|solaris package mercurial-1.7.3, sparc/solaris, x86/solaris]].

=== AIX ===
 * [[http://www.lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.7.5

=== BSD ===
 * [[http://freebsd.org/cgi/url.cgi?ports/devel/mercurial/pkg-descr|FreeBSD Mercurial port]] ([[http://freebsd.org/cgi/cvsweb.cgi/ports/devel/mercurial/|port-webdir]]). [[ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/devel/mercurial-1.2.1.tbz|i386 package]] - 1.2.1
  * Requires [[http://freebsd.org/cgi/cvsweb.cgi/ports/lang/python25/|python25]] (i386 package: [[ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/lang/python25-2.5.2_1.tbz|python25-2.5.2_1.tbz]]). Use [[http://freebsd.org/cgi/man.cgi?query=pkg_add&apropos=0&sektion=0&manpath=FreeBSD+6.3-RELEASE&format=html|pkg_add]] for installing.
 * [[ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/mercurial/README.html|NetBSD]] packages compiled from [[http://pkgsrc.se/devel/mercurial|pkgsrc]] - 1.2.1

== Source packages ==
 * Source code of [[WhatsNew|released versions]] of Mercurial can be downloaded as usual .tar.gz files at [[http://mercurial.selenic.com/release/?M=D|http://mercurial.selenic.com/release/]].
 * The [[http://selenic.com/repo/hg-stable|hg-stable]] repository leads to stable releases - download [[http://selenic.com/repo/hg-stable/archive/tip.tar.gz|snapshot]].
 * The [[http://selenic.com/repo/hg|hg]] repository is the main development repository - download [[http://selenic.com/repo/hg/archive/tip.tar.gz|snapshot]].
 * Check DeveloperRepos for other relevant developer repositories where you can clone the hg source.

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

== Using easy_install ==
/!\ This method is not recommended and may conflict with other installs of Mercurial.

Mercurial can also be installed from [[http://pypi.python.org/pypi/Mercurial/|pypi]] with {{{easy_install}}}. You will need Python and the C compiler used to build it and {{{easy_install}}}. {{{easy_install}}} might be available in a {{{python-dev}}} or {{{python-setuptools-devel}}} package for your platform or you can grab it from http://peak.telecommunity.com/DevCenter/EasyInstall.

/!\ [[http://code.google.com/p/rdflib/issues/detail?id=104|Unable to find vcvarsall.bat]] fix error with mingw and install mercurial 1.7.3 with python 2.7

{{{
Create a file in C:\Python26\Lib\distutils and call it distutils.cfg
[build]
compiler=mingw32
}}}
With the right prerequisites you can install the latest version of Mercurial using:

{{{
easy_install -U mercurial
}}}
----
CategoryProject

[[FrenchDownload|Français]], [[ChineseDownload|中文]], [[JapaneseDownload|日本語]]

Download

Source archives and binary packages for various systems. See WhatsNew for information on upgrading.

1. Binary packages

1.1. Windows

/!\ Like TortoiseSVN, we recommend to turn off the indexing service on the working copies and repositories, and exclude them from virus scans. The following installers can be used from Windows XP on:

Most of the above installers are from thg-winbuild, which has nightly builds of Mercurial and TortoiseHg.

1.2. Mac OS X

  • Mac OS X packages (you may have to add export LC_ALL=en_US.UTF-8 and export LANG=en_US.UTF-8 to your ~/.profile)

  • fink - 1.2.1

  • macports: install with 'sudo port install mercurial' - 1.4.2

1.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.

1.4. Linux (.rpm)

  • RPMforge: packages for RHEL 5 and CentOS 5; install using yum install mercurial - 1.5

  • Mandriva: install with urpmi mercurial - 1.7.2

  • Fedora - latest version is available within few days after release, install with yum install '*mercurial*'

  • Fedora Projects EPEL for RHEL and CentOS 5: 1.3.1, install with yum install '*mercurial*'

  • openSUSE - latest version is available shortly after release in the devel:tools:scm repository

  • Ark Linux - 1.6.2

  • OpenPKG - 1.4

An RPM package can be built from a Mercurial source repository with contrib/buildrpm. It has currently mostly been tested on Fedora.

1.5. Linux (others)

1.6. Solaris

1.7. AIX

1.8. BSD

2. Source packages

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

3. Using easy_install

/!\ This method is not recommended and may conflict with other installs of Mercurial.

Mercurial can also be installed from pypi with easy_install. You will need Python and the C compiler used to build it and easy_install. easy_install might be available in a python-dev or python-setuptools-devel package for your platform or you can grab it from http://peak.telecommunity.com/DevCenter/EasyInstall.

/!\ Unable to find vcvarsall.bat fix error with mingw and install mercurial 1.7.3 with python 2.7

Create a file in C:\Python26\Lib\distutils and call it distutils.cfg
[build]
compiler=mingw32

With the right prerequisites you can install the latest version of Mercurial using:

easy_install -U mercurial


CategoryProject

Français, 中文, 日本語

Download (last edited 2021-10-01 20:25:20 by CarlReinke)