Posted By

ryansobol on 10/25/06


Tagged

svn Shell Bash script subversion install


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

px
ryansobol


install-svn


 / Published in: Bash
 

URL: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74

Installs subversion client package on a shared host machine using the downloadable packages. Turns off the SWIG wrapper library and serving local repositories over apache. Just add ~/subversion/bin to your environment path.

  1. #!/bin/sh
  2.  
  3. version='1.4.4'
  4.  
  5. subversion="subversion-$version.tar.bz2"
  6. subversion_deps="subversion-deps-$version.tar.bz2"
  7.  
  8. curl -O http://subversion.tigris.org/downloads/$subversion
  9. curl -O http://subversion.tigris.org/downloads/$subversion_deps
  10.  
  11. tar -jxvf $subversion
  12. tar -jxvf $subversion_deps
  13.  
  14. cd subversion-$version
  15. ./configure --prefix=$HOME/subversion --without-swig --without-apache
  16. make
  17. make install
  18.  
  19. cd ..
  20. rm -rf subversion-$version
  21. rm $subversion_deps
  22. rm $subversion

Report this snippet  

You need to login to post a comment.