git - 为 RHEL 6 安装/构建 git-svn

标签 git git-svn rhel

我无权访问 RHEL6 存储库,那么在 RedHat Enterprise Linux 6 上构建和/或安装 git-svn 工具的最佳方法是什么?


通过卸载现有的 (yum erase git) 并从源代码安装最新版本来设法安装 git 和 git-svn 1.7.9。也在 64 位上工作。

最佳答案

一个可能的解决方案是在本地(即在您的主目录中的一个目录中)重建所有内容:

  • git 及其依赖
  • svn 及其依赖
  • perlruby(由 git-svn 脚本使用)

你可以试试我的GitHub project compileEverything :
(它将为您下载并编译所有必要的资源:无需配置)

cd ~
bash # (you need a bash session)
# set your http_proxy/https_proxy if needed
wget --no-check-certificate https://github.com/VonC/compileEverything/tarball/master
tar xpvf master
cd compil*
./maken-env.sh -title=test
# wait 4 hours
source .bashrc -force # special bash with all the right local path

gitgit-svn 将工作。

关于git - 为 RHEL 6 安装/构建 git-svn,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8653531/

相关文章:

node.js - npm 安装错误 : "Host key verification failed."

git - 使用 BitBucket 配置 egit

linux - 在共享主机上安装 git - ./configure : no such file or directory

Svn -> 带有多个主干/分支/标签的 git 迁移

rpm:/lib64/liblzma.so.5:未找到版本 `XZ_5.1.2alpha'(/lib/librpmio.so.3 需要)

python - python 2.7.13 altinstall on RHEL7 刚启动系统版本

git - VSTS - 从一个存储库持续部署到两个独立的 Azure Web 应用程序

git - 使用 git svn clone 将 svn 转换为 git

git-svn - 从没有 trunk 目录的 svn repo 进行 Git 克隆,并将文件放在 git repo 的根目录中

linux - 确定哪些文件已更改或创建