Installing/building git-svn for RHEL 6

2019-07-04 07:43发布

问题:

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.



标签: git git-svn rhel