Differences between revisions 108 and 109
Revision 108 as of 2010-07-25 17:35:20
Size: 7517
Editor: KurtGranroth
Comment:
Revision 109 as of 2010-08-01 23:14:16
Size: 7652
Editor: JulianCowley
Comment: add RPMforge to Linux (.rpm) section
Deletions are marked like this. Additions are marked like this.
Line 48: Line 48:
 * [[https://rpmrepo.org/RPMforge/Using|RPMforge]]: packages for RHEL 5 and CentOS 5; install using {{{yum install mercurial}}} - 1.5

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

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)