Linux下安装SVN客户端

转自:http://blog.csdn.net/fengyily/article/details/36649711

1、下载

2、解压
[maintain@HM16-213 software]$ tar jxvf subversion-deps-1.6.12.tar.bz2
[maintain@HM16-213 software]$ tar jxvf subversion-1.6.12.tar.bz2

3、准备安装
[root@HM16-213 software]# mkdir /usr/local/subversion
[root@HM16-213 software]# cd subversion-1.6.12

4、安装
[root@HM16-213 subversion-1.6.12]#  ./configure --prefix=/usr/local/subversion
[root@HM16-213 subversion-1.6.12]# make && make install

5、测试完成
[root@HM16-213 subversion-1.6.12]# cd /usr/local/subversion/bin
[root@HM16-213 bin]# ll
total 1348
-rwxr-xr-x 1 root root   7007 Dec 18 11:12 apr-1-config
-rwxr-xr-x 1 root root   6510 Dec 18 11:12 apu-1-config
-rwxr-xr-x 1 root root   1840 Dec 18 11:12 neon-config
-rwxr-xr-x 1 root root 640714 Dec 18 11:12 svn
-rwxr-xr-x 1 root root 111254 Dec 18 11:12 svnadmin
-rwxr-xr-x 1 root root  69421 Dec 18 11:12 svndumpfilter
-rwxr-xr-x 1 root root 137177 Dec 18 11:12 svnlook
-rwxr-xr-x 1 root root 229281 Dec 18 11:12 svnserve
-rwxr-xr-x 1 root root 107874 Dec 18 11:12 svnsync
-rwxr-xr-x 1 root root  25042 Dec 18 11:12 svnversion

6、建立软连接
[root@HM16-213 /]# ln /usr/local/subversion/bin/svn /sbin/svn

7、测试
[root@HM16-213 /]# svn
Type 'svn help' for usage.
[root@HM16-213 /]# 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 are 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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值