6785
Comment: AIX now 1.8.1
|
6785
AIX now 1.9.2
|
Deletions are marked like this. | Additions are marked like this. |
Line 69: | Line 69: |
* [[http://lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.8.1 | * [[http://lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.9.2 |
(Other languages: English Français )
Contents
源代码
所有 发布版本的Mercurial 源代码都以 .tar.gz 文件下载: http://mercurial.selenic.com/release/.
当你克隆 hg 代码仓库时,注意请检查其它关联的开发仓库.
获得源代码后,参考Unix/Windows安装说明来进行安装.
二进制包
Windows
TortoiseHg 是 Windows 浏览器界面集成的很易用
tortoisehg-0.9.2-1-hg-1.4.2.exe TortoiseHg 0.9.2 + Mercurial 1.4.2 套件!
仅 Mercurial-1.4.2 安装包 ,不含 TortoiseHg
thg-winbuild 是Mercurial + TortoiseHg 每日集成包, 可将 Mercurial 作为Python 的模块来安装.
Minimal Windows 安装器 - 独立或依赖Python 环境(最新和前一版本快,快照)
cygwin 也能安装 Mercurial.
类似 !TortoiseSVN, 我们建议 关闭对本地工作仓库目录的索引和病毒扫描事务.
Mac OS X
Mac OS X 包 (应该在~/.profile加入export LC_ALL=en_US.UTF-8 and export LANG=en_US.UTF-8)
fink - 1.2.1
macports: 使用 'sudo port install mercurial' - 1.2.1
Linux (.deb)
Debian
Debian squeeze (testing) - 1.3.1
Debian lenny (stable) - 1.0.1
Ubuntu
Ubuntu Hardy - 0.9.5 (1.0.1 只要允许backports)
Ubuntu Intrepid - 1.0.1
Ubuntu Jaunty - 1.1.2
Ubuntu Karmic - 1.3.1
Launchpad PPAs (carrying packages for Hardy, Intrepid, Jaunty and Karmic)
Releases - 1.4.2
稳定快照 - DeveloperRepos 的每日快照 (注意: 未测试的)
快照 - 未稳定 DeveloperRepos 的每日快照(注意: 未测试的)
Mercurial (from 1.0 onwards) 已经发布为 Debian-related 仓库软件包, mercurial and mercurial-common - 只需下载相关 .deb 文件完成手工安装 - 当然, APT 将统一管理你安装的 mercurial.
Linux (.rpm)
Mandriva: install with urpmi mercurial - 1.2.1
Fedora and CentOS 5 with Fedora Projects EPEL: install with yum install '*mercurial*' - 1.4.1 (EPEL 1.3.1)
OpenSUSE - 1.2.1
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.
Linux (其他)
Arch Linux - 1.2.1
Gentoo ebuild: install with emerge mercurial - 1.3.1 (1.4.1 in unstable)
T2 SDE - 1.3
Slackware 12.2 - 1.0.2
Optware cross compilation ipk - latest for Python 2.4 and 2.5
Solaris
OpenCSW: mercurial-1.3.1, testing contains mercurial-1.4.1, for Solaris 8-10, SPARC/x86.
blastwave - 1.3.1
sunfreeware.com - SPARC/Solaris 2.6-10 packages, x86/Solaris 8-10 packages - 1.4.1
AIX
BSD
FreeBSD Mercurial port (port-webdir). i386 package - 1.2.1
Requires python25 (i386 package: python25-2.5.2_1.tbz). Use pkg_add for installing.
使用easy_install
Mercurial 同样可以使用 easy_install 从 pypi 仓库中安装. 几乎和下载源代码安装相同. 只是在OS X 中无法完成安装.
需要事先安装 Python 和 C 编译器. 例如在Ubuntu 中:
sudo apt-get install build-essential gcc python-dev
easy_install 可能包含在 python-dev 或 python-setuptools-devel 包中, 也可以直接从 http://peak.telecommunity.com/DevCenter/EasyInstall 抓取.
准备好以上依赖后,你就可以通过以下操作完成最新版本Mercurial 的安装:
easy_install -U mercurial