Monday, July 2, 2007

Install SVN Client on Linux

click for more



1. download neon

2. download apache-apr

3. download svn

#1--> install neon

./configure --with-ssl

./configure --with-neon=/usr/local/

#2--> install apr-utils

Step 1: Build and install apr 1.2
Go to the Source library directory of apr and follow the steps given below


$
./configure --prefix=/usr/local/apr-httpd/


$
make


$
make install

Step 2: Build and install apr-util 1.2


$
cd ../apr-util


$
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/


$
make


$
make install

#3---> install svn

Pre-requisites

· Src code are available and copied somewhere on disk

· Apr libraries required for svn are installed if not follow the guidelines in apache server installation to install apr.

· You need to be a superuser (root) to install and uninstall CollabNet SubversionInstallation

Installation steps

Step 1: Execute the command to install

Extract the tar.bz2 file in one of the directory on your system

$ bunzip .bz2

$ tar –xvf .tar

Step 2: Go to the directory where file is extracted and execute configure
$ ./configure –prefix=/opt/usnv/svn
Step 3: Execute make command
$make
Step 4: Execute make install command
$ make install
Step 4: Add the bin directory of svn installtion to your path
$ export PATH=${PATH}:/opt/usnv/svn/binStep 5: Test the installation by typing svn help command on prompt and press enter  it should not show command not found but list of command available as shown below
$ svn help
usage: svn  [options] [args]
Subversion command-line client, version 1.4.3.
Type 'svn help ' for help on a specific subcommand.
Type 'svn --version' to see the program version and RA modules
  or 'svn --version --quiet' to see just the version number.
 
Most subcommands take file and/or directory arguments, recursing
on the directories.  If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.
 
Available subcommands:
   add
   blame (praise, annotate, ann)
   cat
   checkout (co)
   cleanup
   commit (ci)
   copy (cp)
   delete (del, remove, rm)
   diff (di)
   export
   help (?, h)
   import
   info
   list (ls)
   lock
   log
   merge
   mkdir
   move (mv, rename, ren)
   propdel (pdel, pd)
   propedit (pedit, pe)
   propget (pget, pg)
   proplist (plist, pl)
   propset (pset, ps)
   resolved
   revert
   status (stat, st)
   switch (sw)
   unlock
   update (up)
 
Subversion is a tool for version control.
For additional information, see http://subversion.tigris.org/











Google