我正在尝试在 CentOs 6.3 上安装 Mercurial 2.2,但是我觉得 centos 的存储库有点过时,因为 yum 安装总是显示您的 Mercurial 是最新的。
现在搜索了一些论坛并找到了一些其他存储库来使用以下命令和存储库更新 Mercurial 客户端:
**
rpm -Uvh http://pkgs.repoforge.org/mercurial/mercurial-2.2.2-1.el6.rfx.i686.rpm
**
但是会导致以下错误:
hg = 1.4-3.el6 is needed by (installed) emacs-mercurial-1.4-3.el6.i686
hg = 1.4-3.el6 is needed by (installed) mercurial-hgk-1.4-3.el6.i686
我认为由于某些软件包依赖性,我无法安装。
任何帮助/指示将不胜感激。
最佳答案
来自博客:Install Mercurial Centos 6 VPS Mercurial 2.2.2 Centos 6.4 setup
This the only package you're able to install because other RPM packages require python 2.4 whereas Centos 6 has python 2.6 installed.
rpm -Uvh http://pkgs.repoforge.org/mercurial/mercurial-2.2.2-1.el6.rfx.x86_64.rpm
测试您的安装:
[root@~]# hg version
Mercurial Distributed SCM (version 2.2.2)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
关于mercurial - 在 Centos 6 上安装 Mercurial,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17281225/