Subversion is a version control system that is designed to be a compelling replacement for CVS in the open source community. It extends and enhances CVS' feature set, while maintaining a similar interface for those already familiar with CVS. These instructions install the client and server software used to manipulate a Subversion repository. Creation of a repository is covered at Running a Subversion Server.
Download (HTTP): http://subversion.tigris.org/tarballs/subversion-1.1.4.tar.bz2
Download MD5 sum: 6e557ae65b6b8d7577cc7704ede85a23
Download size: 6.7 MB
Estimated disk space required: 182 MB (additional 577 MB to run all test suites)
Estimated build time: 1.24 SBU (add 0.90 SBU for SWIG bindings and 6.45 SBU to run test suites)
libxml2-2.6.20 (only if using the bundled version of neon)
Python-2.4.1 (required to run the full test suite), Apache-2.0.54, OpenSSH-4.1p1 (runtime only), neon-0.24.7, JDK-1.5.0 (to build the JAVA bindings), JUnit (for running the JAVA bindings test suite and requires UnZip-5.52), Dante (alternate JAVA compiler), Jikes (another alternate JAVA compiler) and inetd or xinetd-2.3.13 (server only)
pkg-config-0.19, OpenSSL-0.9.7g, Heimdal-0.7 or MIT krb5-1.4.1
SWIG and Python-2.4.1
Install Subversion by running the following commands:
./configure --prefix=/usr && make
If you have Apache installed, pass the --with-apr=/usr and --with-apr-util=/usr switches to the configure script. Otherwise, Subversion will overwrite APR and APR-utils from the Apache installation with its own files. You may also need to pass --with-apxs=/usr/sbin/apxs as apxs might not be in an unprivileged user's PATH and won't be properly discovered.
If you passed the --enable-javahl parameter to configure and wish to build the JAVA Subversion bindings, issue the following command:
make javahl
If you passed the --with-swig and --enable-swig-bindings parameters to configure and wish to build the SWIG Perl and Python Subversion bindings, issue the following commands:
make swig-pl && make swig-py
To test the results, issue: make check.
Now, as the root user:
make install && install -v -d -m755 /usr/share/doc/subversion-1.1.4 && cp -v -R doc/* /usr/share/doc/subversion-1.1.4
If you built the JAVA Subversion bindings, issue the following command as the root user to install them:
make install-javahl
If you built the SWIG Perl and Python Subversion bindings, issue the following commands as the root user to install them:
make install-swig-pl && make install-swig-py && echo /usr/lib/svn-python \ > /usr/lib/python2.4/site-packages/subversion.pth
--with-ssl: This switch enables OpenSSL support in neon (only required if you use the bundled version of neon).
/etc/subversion/config is the Subversion system-wide configuration file. This file is used to specify defaults for different svn commands.
~/.subversion/config is the user's personal configuration file. It is used to override the system-wide defaults set in /etc/subversion/config.
Last updated on 2005-08-01 13:29:19 -0600