在centos 6 64位下使用源码编译安装svn 1.7

由于安全提示升级到svn 1.7

但是使用yum 有没有源,所以使用源码编译

1) SSH to your server as root and remove old version if installed from yum
yum remove subversion
2) Goto /usr/local/src
cd /usr/local/src
3) Download source from

http://subversion.apache.org/download/

wget http://labs.mop.com/apache-mirror/subversion/subversion-1.7.6.tar.bz2
tar xvf subversion-1.7.6.tar.bz2

如果没有这个文件,到主站下载 http://subversion.apache.org/download/

4) 进入svn目录

cd /usr/local/src/subversion-1.7.6
wget http://rahulsoni.me/files/apr-util-1.3.12.tar.gz
wget http://rahulsoni.me/files/apr-1.4.5.tar.gz
tar zxf apr-util-1.3.12.tar.gz
tar zxf apr-1.4.5.tar.gz
wget http://www.sqlite.org/sqlite-amalgamation-3071300.zip
unzip sqlite-amalgamation-3071300.zip
mv sqlite-amalgamation-3071300 sqlite-amalgamation
./configure
make
make install


执行命令看svn版本

/usr/local/bin/svn --version

Result would be.
svn, version 1.7.6 (r1370777)

Please feel free to post comment if you face problems with installation.

 

你可能感兴趣的:(linux,SVN,centos,源码编译,1.7)