Differences between revisions 113 and 119 (spanning 6 versions)
Revision 113 as of 2010-08-03 10:30:58
Size: 7840
Editor: jeroendv
Comment: launchpad ppa serves mercurial 1.6 instead of 1.5
Revision 119 as of 2010-09-08 19:00:01
Size: 7782
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * Check DeveloperRepos for other relevant developer repositories where you can get clone the hg source.  * Check DeveloperRepos for other relevant developer repositories where you can clone the hg source.
Line 15: Line 15:
/!\ '''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.''' /!\ '''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 Win2K on:
Line 17: Line 17:
 * TortoiseHg with Windows Explorer "shell" integration
  * [[http://tortoisehg.bitbucket.org/download/index.html|Download
]] all-in-one installer with !TortoiseHg 1.1.2 and Mercurial 1.6.2 (alternate download: [[http://bitbucket.org/tortoisehg/stable/downloads|Bitbucket]] / [[http://tortoisehg.codeplex.com/releases|CodePlex]])
  * [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/mercurial-1.6.2.msi|Mercurial-1.6.2 (msi)]] / [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/Mercurial-1.6.2.exe|Mercurial-1.6.2 (exe)]] installer without !TortoiseHg.
  * [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/|thg-winbuild]] has nightly builds of Mercurial and !TortoiseHg - and installers for installing Mercurial as Python packages. It also offers
(InnoSetup based) EXE Mercurial installers that do not require admin rights, and should work on Win2K.
 * [[http://portableapps.com/node/23367|Mercurial-1.5.2 portable]]
 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with !TortoiseHg 1.1.3 and Mercurial 1.6.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.6.3.msi|Mercurial-1.6.3 (msi)]], needs admin rights to install.
 *
[[http://mercurial.selenic.com/release/windows/Mercurial-1.6.3.exe|Mercurial-1.6.3 (exe)]], does not need admin rights to install (InnoSetup based).
Line 23: Line 21:

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.
Line 71: Line 71:
 * [[http://www.lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.6  * [[http://www.lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.6.3

(Other languages: Français 中文 )

Source packages

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

Binary packages

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 Win2K on:

Most of the above installers are from thg-winbuild, which has nightly builds of Mercurial and TortoiseHg - and installers for installing Mercurial as Python packages.

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

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)

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

  • Mandriva: install with urpmi mercurial - 1.2.1

  • 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.0.2

  • OpenPKG - 1.2.1

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

5. Linux (others)

6. Solaris

7. AIX

8. BSD

Using easy_install

Mercurial can also be installed from pypi with easy_install. It will however mostly just download and make a partial installation from source as described above. The installation will not be complete, and there have been reports that it doesn't work on OS X.

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.

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

easy_install -U mercurial

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