How to install subversion (svn) on linux ?



I have referred the second procedure to install svn on my rhel6 mc.

Procedure 1 :
=========cd /usr/local/src/


wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.gz
wget http://www.sqlite.org/sqlite-3.5.2.tar.gz

tar xzf subversion-1.4.5.tar.gz
tar xzf subversion-deps-1.4.5.tar.gz
tar xzf sqlite-3.5.2.tar.gz

cd sqlite-3.5.2
./configure
make
make install

cd ../subversion-1.4.5
./configure
make
make install
================


Note : If above one doesn't work please refer the following steps :


Procedure 2 :


================
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz
tar -xzvf subversion-1.4.6.tar.gz
tar -xzvf subversion-deps-1.4.6.tar.gz
cd subversion-1.4.6

cd apr
./configure --enable-shared --prefix=$HOME
make && make install

cd ../apr-util
./configure --enable-shared --prefix=$HOME \
--with-expat=builtin --with-apr=$HOME \
--without-berkeley-db
make && make install

cd ../neon
./configure --enable-shared --prefix=$HOME \
--with-libs=$HOME
make && make install

./configure --prefix=$HOME --without-berkeley-db \
--with-editor=/usr/bin/vim --with-apr=$HOME \
--with-apr-util=$HOME --with-neon=$HOME \
--without-apxs --without-apache
make && make install

check :

which svn
svn --version
================

By : blog.snapshotit.com



Related Posts:



Responses

0 Respones to "How to install subversion (svn) on linux ?"

Post a Comment

»Thank you for reading this article
If you have questions or comments, please leave a comment
»You can click on the Subscribe by email to subscribe comments of this post
»You can register directly link pictures, mp3, video on the comment form.
»You may use some HTML tags such
»Please post comments polite and typing accented Vietnamese if possible
»Thank the good faith comment

 

Categories

Recent Comments

Error loading feed.

Total Pageviews

624871
Return to top of page ©Web Server Tips Tricks 2010 | Develop by Mr.PhanQuan .Powered by Blogger . All rights reserved.