3

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?

0

4 Answers 4

3

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)
2

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.

1
  • Or even just --prefix=$HOME, since that should be set properly.
    – caf
    Nov 27, 2009 at 5:34
1

Download latest sources from http://subversion.tigris.org

unpack it, and change dir to result folder (for example subversion-1.8.1 - latest one)

./configure --prefix=$HOME 

make install  

check for result

$HOME/bin/svn --version

enjoy! :)

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.