采用源文件编译安装。源文件共两个subversion-1.6.19

subversion-1.6.19.tar.gz (subversion 源文件)
subversion-deps-1.6.19.tar.gz (subversion依赖文件)

  1. 解压源文件,将bz2文件解压成tar
    [@zjm_46_98 /opt/java]# gunzip subversion-1.6.19.tar.gz
    [@zjm_46_98 /opt/java]# tar -xf subversion-1.6.19.tar
    [@zjm_46_98 /opt/java]# gunzip subversion-deps-1.6.19.tar.gz
    [@zjm_46_98 /opt/java]# tar -xf subversion-deps-1.6.19.tar
    [@zjm_46_98 /opt/java]# cd subversion-1.6.19
  2. 安装SVN
    [@zjm_46_98 /opt/java/subversion-1.6.19]# ./configure -prefix=/opt/subversion
    [@zjm_46_98 /opt/java/subversion-1.6.19]# make
    [@zjm_46_98 /opt/java/subversion-1.6.19]# make install
  3. 配置环境变量
    [@zjm_46_98 /opt/java/subversion-1.6.19]# vi /etc/profile
    SVNPATH=$PATH:/opt/subversion/bin
    export SVNPATH
    [@zjm_46_98 /opt/java/subversion-1.6.19]# source /etc/profile
    [@zjm_46_98 /opt/java/subversion-1.6.19]# svn --help