Education » Computer Science » Open Source Projects

ID #1020

How to install SVN (subversion) on Bluehost/Hostmonster etc.?

In general, we have to install APR and APR-util with SVN. In this case, we also install neon, an HTTP and WebDAV client library, with a C interface.

First, make sure that SSH connection is enabled under your target account.

Then, download and configure the script for installation. You can directly copy the following commands to run through SSH. 


cd ~
mkdir src
cd ~/src
wget http://mirror.csclub.uwaterloo.ca/apache/apr/apr-util-1.3.4.tar.gz
wget http://mirror.csclub.uwaterloo.ca/apache/apr/apr-1.3.3.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.5.5.tar.gz
wget http://www.webdav.org/neon/neon-0.28.3.tar.gz
tar -xzf apr-util-1.3.4.tar.gz
tar -xzf apr-1.3.3.tar.gz
tar -xzf subversion-1.5.5.tar.gz
tar -xzf neon-0.28.3.tar.gz
cd ~/src/apr-1.3.3
./configure --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/apr-util-1.3.4
./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/neon-0.28.3
./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/subversion-1.5.5
./configure --prefix=$HOME

make
make install


Please note that for subversion configuration, we don't need to installberkeley-db, which might cause a complaint. However, it will not cause any error. Originally, most users use ./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl --without-apxs, but I have problems in using --with-zlib, so I dropped all the options except the prefix, which worked as well.

If you encounter no problem following previous steps, then you are done. Otherwise, check this link for more information.

My installed SVN repository is accessible here.

Tags: installation

Related entries:

Last update: 2009-03-19 14:38
Author: Admin
Revision: 1.5

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this FAQ:

Average rating: 5 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ

Comment of admin:
Hi Ansgar, You didn't see my repository coz I deleted them already. Could you let me know the specific problem you had?
Added at: 2009-04-14 16:33

Comment of Ansgar:
thanks for the instructions. but I have tried this and I do not seem to be able to access the repository. I also tried to access your reposotiry at http://wujiewen.com/svn but that fails.
Added at: 2009-04-14 14:53

Comment of yoyogame:
fgbfg
Added at: 2009-12-09 03:21