Installing/building git-svn for RHEL 6

对着背影说爱祢 提交于 2019-12-10 21:27:13

问题


I do not have access to the RHEL6 repo, so what wouold be the best approach to building and/or installing the git-svn tool on RedHat Enterprise Linux 6?


Managed to install git & git-svn 1.7.9 by uninstall the existing one (yum erase git) and make installing the latest one from source. Worked on 64-bit too.


回答1:


A possible solution would be to rebuild locally (ie in a directory within your home directory) everything:

  • git and its dependencies
  • svn and its dependencies
  • perl and ruby (used by git-svn script)

You can try my GitHub project compileEverything:
(it will download and compile for you all the necessary sources: no configuration required)

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

git and git-svn will then work.



来源:https://stackoverflow.com/questions/8653531/installing-building-git-svn-for-rhel-6

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!