mercurial - 在 Centos 6 上安装 Mercurial

标签 mercurial centos centos6

我正在尝试在 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/

相关文章:

php - 运行非常长的脚本 - 如何让它们保持运行并在它们失败时重新启动它们?

linux - BCC 无法与邮件命令一起正常工作

docker - 如何在 Centos 上安装特定版本的 Docker?

centos - 如何在 CentOS 上安装 filezilla?

wordpress - 我怎么知道 Wordpress 使用哪个 linux 用户安装插件

user-interface - IntelliJ 项目 Pane 下的所有文件都是红色的

version-control - 显示 Mercurial 推/拉的进度

mercurial - 如何关闭 hg status -S

java - tomcat 7 中的 Solr

Mercurial:如何从存储库中仅导入部分变更集?