一、下载软件和依赖包
cd Desktop
wget http://mirrors.tuna.tsinghua.edu.cn/apache/subversion/subversion-1.9.7.tar.gz
wget https://jaist.dl.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz
wget http://archive.apache.org/dist/apr/apr-util-1.6.1.tar.gz
wget http://archive.apache.org/dist/apr/apr-1.6.3.tar.gz
wget http://www.sqlite.org/sqlite-amalgamation-3071501.zip
二、安装软件依赖包
1.安装apr.tar.gz
cd Desktop
tar-zxvf apr-1.6.3.tar.gz
cd apr-1.6.3/
./configure--prefix=/usr/local/apr
make&&make install
2.安装apr-util.tar.gz
cd Desktop
tar-zxvf apr-util-1.6.1.tar.gz
cd apr-util-1.6.1/
./configure--prefix=/usr/local/apr-util--with-apr=/usr/local/apr--with-expat=/usr/local/expat
make&&make install
3.安装zlib-1.2.11.tar.gz
cd Desktop
tar-zxvf zlib-1.2.11.tar.gz
cd zlib-1.2.11/
./configure--prefix=/usr/local/zlib
make&&make install
4.安装subversion-1.9.7.tar.gz
cd Desktop
ar-zxvf subversion-1.9.7.tar.gz
unzip sqlite-amalgamation-3071501.zip
mv sqlite-amalgamation-3071501./subversion-1.9.7/sqlite-amalgamation
cd subversion-1.9.7
./configure--prefix=/usr/local/svn--with-apr=/usr/local/apr--with-apr-util=/usr/local/apr-util--with-zlib=/usr/local/zlib--without-berkeley-db--with-ssl
make
make install
5.检验是否安装成功
cd/usr/local/svn/bin
./svnserve--version