1. download [[email protected] software]$ wget http://subversion.tigris.org/downloads/subversion-deps-1.6.12.tar.bz2[[ Email protected] software]$ wget http://subversion.tigris.org/downloads/subversion-1.6.12.tar.bz2
2. unzip [[email protected] software]$ tar jxvf subversion-deps-1.6.12.tar.bz2[[email protected] software]$ tar JXVF subversion-1.6.12.tar.bz2
3. Ready to install [[email protected] software]# Mkdir/usr/local/subversion[[email protected] software]# CD subversion-1.6.12
4, installation [[email protected] subversion-1.6.12]#./configure--prefix=/usr/local/subversion[[email protected] subversion-1.6.12]# make && make install
5. Test complete [[email protected] subversion-1.6.12]# Cd/usr/local/subversion/bin[[email protected] bin]# ll
Total 1348
-rwxr-xr-x 1 root root 7007 Dec 11:12 apr-1-config
-rwxr-xr-x 1 root root 6510 Dec 11:12 apu-1-config
-rwxr-xr-x 1 root root 1840 Dec 11:12 neon-config
-rwxr-xr-x 1 root root 640714 Dec 11:12 svn
-rwxr-xr-x 1 root root 111254 Dec 11:12 svnadmin
-rwxr-xr-x 1 root root 69421 Dec 11:12 svndumpfilter
-rwxr-xr-x 1 root root 137177 Dec 11:12 Svnlook
-rwxr-xr-x 1 root root 229281 Dec 11:12 svnserve
-rwxr-xr-x 1 root root 107874 Dec 11:12 svnsync
-rwxr-xr-x 1 root root 25042 Dec 11:12 svnversion
6. Establish a soft connection [[email protected]/]# LN/USR/LOCAL/SUBVERSION/BIN/SVN/SBIN/SVN
7. Testing
[[Email protected]/]# SVN
Type ' svn help ' for usage.
[Email protected]/]# svn-h
USAGE:SVN <subcommand> [Options] [args]
Subversion command-line client, version 1.6.11.
Type ' svn help <subcommand> ' 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 is supplied to such a
command, it recurses on the current directory (inclusive) by default.
Available subcommands:
Add
Blame (praise, annotate, Ann)
Cat
Changelist (CL)
Checkout (CO)
Cleanup
Commit (CI)
Copy (CP)
Delete (Del, remove, RM)
diff (di)
Export
Help (?, h)
Import
Info
List (LS)
Lock
Log
Merge
Mergeinfo
Mkdir
Move (MV, rename, ren)
Propdel (Pdel, PD)
Propedit (Pedit, PE)
Propget (Pget, PG)
Proplist (plist, PL)
Propset (PSet, PS)
Resolve
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/
Install SVN client under Linux