Differences between revisions 156 and 163 (spanning 7 versions)
Revision 156 as of 2011-01-10 14:35:19
Size: 8452
Editor: JimHague
Comment: AIX package now 1.7.3
Revision 163 as of 2011-02-24 22:50:11
Size: 8884
Comment: make cygwin look a bit more scary
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Source archives and binary packages for various systems. See WhatsNew and ReleaseNotes for information on upgrading. Source archives and binary packages for various systems. See WhatsNew for information on upgrading.
Line 11: Line 11:
 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with !TortoiseHg 1.1.8 and Mercurial 1.7.3 (alternate download: [[http://bitbucket.org/tortoisehg/stable/downloads|Bitbucket]] / [[http://tortoisehg.codeplex.com/releases|CodePlex]])
 * [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.7.3-1-x86.msi|Mercurial-1.7.3 (32-bit msi)]] / [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.7.3-1-x64.msi|Mercurial-1.7.3 (64-bit msi)]], needs admin rights to install.
 * [[http://mercurial.selenic.com/release/windows/Mercurial-1.7.3.exe|Mercurial-1.7.3 (32-bit exe)]]/[[http://mercurial.selenic.com/release/windows/Mercurial-1.7.3-x64.exe|Mercurial-1.7.3 (64-bit exe)]], does not need admin rights to install (InnoSetup based).
 * [[http://cygwin.com/|cygwin]] can install mercurial.
 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with !TortoiseHg 1.1.9.1 and Mercurial 1.7.5 (alternate download: [[http://bitbucket.org/tortoisehg/stable/downloads|Bitbucket]] / [[http://tortoisehg.codeplex.com/releases|CodePlex]])
 * [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.7.5-x86.msi|Mercurial-1.7.5 (32-bit msi)]] / [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.7.5-x64.msi|Mercurial-1.7.5 (64-bit msi)]], needs admin rights to install.
 * [[http://mercurial.selenic.com/release/windows/Mercurial-1.7.5.exe|Mercurial-1.7.5 (32-bit exe)]]/[[http://mercurial.selenic.com/release/windows/Mercurial-1.7.5-x64.exe|Mercurial-1.7.5 (64-bit exe)]], does not need admin rights to install (InnoSetup based).
 * [[https://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.7.5.win32-py2.6.exe|Mercurial-1.7.5 (32-bit py2.6)]]/[[https://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.7.5.win-amd64-py2.6.exe|mercurial-1.7.5 (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.
Line 16: Line 17:
Most of the above installers are from [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/|thg-winbuild]], which has nightly builds of Mercurial and !TortoiseHg - and installers for installing Mercurial as Python packages. Most of the above installers are from [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/|thg-winbuild]], which has nightly builds of Mercurial and !TortoiseHg.
Line 65: Line 66:
 * [[http://www.lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.7.3  * [[http://www.lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.7.5
Line 85: Line 86:
/!\ [[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 /!\ [[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
Line 92: Line 93:

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)