在Debian lenny 上安装Mercurial

http://superuser.com/questions/68518/installing-mercurial-on-debian-lenny

直接使用apt-get安装,所安装的版本为1.0.1 与后来的版本不兼容,使用easy_install安装在编译的时候会出错, 不管是安装最新版本还是easy_install "mercurial=1.3.1" 安装1.3.1。

以下是两种安装更新版本的方法。
1 安装1.5
在/etc/apt/sources.list 中加入:
deb http://ftp.us.debian.org/debian sid main

apt-get update
apt-get install mercurial

2 安装1.3.1
从下面的链接下载安装包:
http://ftp.us.debian.org/debian/pool/main/m/mercurial/mercurial_1.3.1-1_i386.deb

dpkg -i mercurial_1.3.1-1_i386.deb
原文地址:https://www.cnblogs.com/crafter/p/2262919.html