Skip to content

Instantly share code, notes, and snippets.

@guyjin
Last active December 14, 2015 23:18
Show Gist options
  • Save guyjin/5164102 to your computer and use it in GitHub Desktop.
Save guyjin/5164102 to your computer and use it in GitHub Desktop.
install Subversion 1.7* on CentOS
cd /usr/local/src/
wget http://archive.apache.org/dist/subversion/subversion-1.7.0.tar.gz
tar zxf subversion-1.7.0.tar.gz
If download link don’t work get the correct one from http://subversion.apache.org/download/
#Enter extracted source directory and download apache apr and apr-util before compiling subversion
cd /usr/local/src/subversion-1.7.0
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
mv apr-util-1.3.12 apr-util
mv apr-1.4.5 apr
#install zlib
wget http://zlib.net/zlib-1.2.7.tar.gz #version may have changed, check site
tar xvf zlib-1.2.7.tar.gz
mv zlib-1.2.7 zlib
cd zlib
./configure --shared
make
make install
# install newer version of SQLite
cd /usr/local/src/
# check http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/ for the latest version.
wget http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/atomic-release-1.0-16.el5.art.noarch.rpm
rpm -Uvh atomic-release*rpm
yum install sqlite
cd subversion-1.7.0
./configure CPPFLAGS="-Izlib/ -Lzlib/"
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment