Differences between revisions 169 and 170
Revision 169 as of 2016-05-10 13:33:30
Size: 12338
Comment: sync with Download@521
Revision 170 as of 2016-06-04 11:42:27
Size: 12338
Comment: sync with Download@525
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with TortoiseHg 3.7.3 and Mercurial 3.7.3 (alternate download: [[https://bitbucket.org/tortoisehg/files/downloads|Bitbucket]])
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3-x86.msi|Mercurial-3.7.3 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3-x64.msi|Mercurial-3.7.3 (64-bit msi)]], needs admin rights to install, less friendly with manually installed extensions than !InnoSetup version
 * [[http://mercurial.selenic.com/release/windows/Mercurial-3.8.1.exe|Mercurial-3.8.1 (32-bit exe)]] / [[http://mercurial.selenic.com/release/windows/Mercurial-3.8.1-x64.exe|Mercurial-3.8.1 (64-bit exe)]], does not need admin rights to install (!InnoSetup based).
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3.win32-py2.7.msi|Mercurial-3.7.3 (32-bit py2.7)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3.win-amd64-py2.7.msi|Mercurial-3.7.3 (64-bit py2.7)]], installs Mercurial source as Python modules and thus requires [[http://www.python.org/download/releases/2.7.10/|Python 2.7]] installed. This is recommended for hgweb setups and extensions with non-standard dependencies.
 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with TortoiseHg 3.8.3 and Mercurial 3.8.3 (alternate download: [[https://bitbucket.org/tortoisehg/files/downloads|Bitbucket]])
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.3-x86.msi|Mercurial-3.8.3 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.3-x64.msi|Mercurial-3.8.3 (64-bit msi)]], needs admin rights to install, less friendly with manually installed extensions than !InnoSetup version
 * [[http://mercurial.selenic.com/release/windows/Mercurial-3.8.3.exe|Mercurial-3.8.3 (32-bit exe)]] / [[http://mercurial.selenic.com/release/windows/Mercurial-3.8.3-x64.exe|Mercurial-3.8.3 (64-bit exe)]], does not need admin rights to install (!InnoSetup based).
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.3.win32-py2.7.msi|Mercurial-3.8.3 (32-bit py2.7)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.8.3.win-amd64-py2.7.msi|Mercurial-3.8.3 (64-bit py2.7)]], installs Mercurial source as Python modules and thus requires [[http://www.python.org/download/releases/2.7.10/|Python 2.7]] installed. This is recommended for hgweb setups and extensions with non-standard dependencies.

ダウンロード

様々なシステム向けのソースアーカイブとバイナリパッケージ。 アップグレードに関しては WhatsNew を確認してください。

1. バイナリパッケージ

1.1. Windows

/!\ TortoiseSVN 同様、作業コピーとリポジトリについてはインデックスサービスを止め、ウィルススキャンから除外するよう お勧めします

Windows XP では以下のインストーラーが利用できます:

上記のインストーラーはたいてい thg-winbuild で提供されています。 Mercurial と TortoiseHg のナイトリービルドと、 Mercurial を Python パッケージとしてインストールするためのインストーラーも用意されています。

1.2. Mac OS X

1.3. Linux (.deb)

Mercurial (1.0 以降) の Debian 系ディストリビューション向けパッケージは、 mercurialmercurial-common に分かれています。 .deb ファイルを手動でダウンロード後インストールしない限りは、この点について気にする必要はありません。 普通は mercurial をインストールすれば、 APT が依存関係を処理してくれます。

1.4. Linux (.rpm)

Since Mercurial version 3.4, the Mercurial project provides packages for the following systems:

You can download, install and upgrade the packages manually.

You can also add it as a "yum" package repository and get automatic updates: Add the following file at /etc/yum.repos.d/mercurial.selenic.com.repo and run yum install mercurial.

[mercurial.selenic.com]
name=mercurial.selenic.com
baseurl=https://www.mercurial-scm.org/release/centos$releasever
enabled=1
# Temporary until we get a serious signing scheme in place,
# check https://www.mercurial-scm.org/wiki/Download again
gpgcheck=0

/!\ Mercurial is stable and won't break on automatic updates. Mercurial do however not promise API stability so an update might break extensions or tools using Mercurial internals.

Similar Fedora packages can be built from a Mercurial source repository with commands like make docker-fedora21. "Unsupported" platforms can use contrib/buildrpm directly.

You can also install the package from your distribution

  • Mandriva: install with urpmi mercurial - latest revision available

  • Fedora - リリース後数日で最新版が利用可能。 yum install '*mercurial*' でインストール。

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

  • openSUSE - リリース後程なくして devel:tools:scm リポジトリより最新版が利用可能

  • Ark Linux - 1.6.2

  • OpenPKG - 1.4

1.5. Linux (それ以外)

1.6. Solaris

1.7. AIX

1.8. BSD

  • FreeBSD; use pkg_add for installing - 3.7 (on 2016-04-13)

  • NetBSD packages compiled from pkgsrc - always very up-to-date, currently 2.6

1.9. Plan 9 from Bell Labs

  • ソースからビルドする場合は Plan9FromBellLabs を参照

  • バイナリパッケージは fgb の contrib にあります:

% contrib/install stallion/mercurial

2. ソースパッケージ

ソースを入手した後は、 UnixInstallJapaneseWindowsInstall がインストールの参考になるでしょう。

3. Using pip

Mercurial can also be installed from PyPI with pip, which has shipped with Python since 2.7.9 and 3.4 or can be installed using the instructions on https://pip.pypa.io/en/stable/installing.html.

To install with pip you must have the same C compiler used to compile Python installed as well as the development headers for Python (typically called python-dev or python-devel on Linux).

You may then install Mercurial simply by executing pip install Mercurial.

4. easy_install を使う

/!\ easy_install is a legacy installation method which has been superseded by pip which should be preferred over easy_install. この方法は推奨されません。他でインストールした Mercurial と衝突するかもしれません。 Mercurial は pypi から easy_install でもインストール可能です。 ビルドと easy_install には、 Python と C コンパイラーが必要です。 あなたのプラットフォームで easy_install は、 python-devpython-setuptools-devel パッケージで提供されている可能性があります。 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

前提条件を準備後、最新バージョンの Mercurial を以下のようにしてインストールできます:

easy_install -U mercurial


CategoryJapanese

English Français 中文

JapaneseDownload (last edited 2017-10-08 05:21:46 by YuyaNishihara)