wget http://down1.chinaunix.net/distfiles/subversion-1.7.7.tar.bz2 wget http://archive.apache.org/dist/apr/apr-util-1.5.1.tar.gz wget http://archive.apache.org/dist/apr/apr-1.4.6.tar.gz wget http://www.sqlite.org/sqlite-amalgamation-3071401.zip tar xvf apr-1.4.6.tar.gz cd apr-1.4.6/ ./configure --prefix=/usr/local/apr make && make install cd ../ tar zxvf apr-util-1.5.1.tar.gz cd apr-util-1.5.1/ ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr make && make install cd ../ tar xvf subversion-1.7.7.tar.bz2 unzip sqlite-amalgamation-3071401.zip mv sqlite-amalgamation-3071401 ./subversion-1.7.7/sqlite-amalgamation cd subversion-1.7.7 ./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --without-berkeley-db --with-ssl make && make install cd ../
修改环境变量
vi /etc/profile PATH=$PATH:/usr/local/svn/bin export PATH