Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a remote SSH access to a web server. It's running on CentOS and I was wondering how can I install a SVN client locally ?

Is it even possible?

share|improve this question

migrated from stackoverflow.com Nov 27 '09 at 10:23

This question came from our site for professional and enthusiast programmers.

4 Answers 4

Most unix programs can be compiled, installed, and run without root permissions. With tools that use autoconf, you just need to specify a prefix as to where to install the resulting artifacts. The procedure usually looks like this:

./configure --prefix=${HOME}
make
make check
make install

With subversion, you may have to compile a number of dependencies first. These include:

  • libapr and libapr-util
  • SQLite
  • libz
  • libneon or libserf (optional)
  • OpenSSL (optional)
  • Berkely DB (optional)
  • libsasl (optional)
  • KDELibs, GNOME Keyring (optional)
share|improve this answer

You could download the SVN source code. At the beginning, you can say ./configure --prefix=/path/to/home/directory. Then you can make, and make install, and subversion will be installed to the path specified in "prefix". This would install it in a place where your user could run the program, but it wouldn't be installed system-wide.

share|improve this answer
    
Or even just --prefix=$HOME, since that should be set properly. –  caf Nov 27 '09 at 5:34

Download SVN source to your home directory and run make without installing. SVN executable should appear in src directory or similar.

Another way would be to find appropriate SVN rpm package and extract contents instead of installing.

share|improve this answer

Download latest sources from link text

unpack it, and to result folder (for ex. subversion-1.6.6 - latest one)

./configure --prefix=$HOME

make install

check for result "$HOME/bin/svn --version"

enjoy! :)

link text

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.