linux svn 升級,linux 安装或升级 svn

1.寻找linux下的源码

去寻找rpm文件或者gz文件 都是可以的 , 直接输入地址,

2.解压到同一个目录

例如:

先一起拷贝到/usr/local/下,然后分别解压以上两个包裹,会在/usr/local/下生成一个文件夹subversion-1.6.12

命令:tar xzvf subversion-1.6.12.tar.gz

3.编译

进入文件夹subversion-1.6.12,then enter command:

./configure --prefix=/usr/local/svn

the above is an example:/usr/local/svn .

the end of the command  also can refer such as --with-openssl=***** .

4.make

(also  prepare to  input make clean)

5.make install

Notes:

1.if your configure info show some warning as  BDB words.you can install it or not .

2.last you should test it.

输入命令:svn --version

出现的版本有误。证明你的系统自带1.4的系统或其他。

所以,你可以把修改配置文件:profile,但我尝试了,无效。

所以我直接把/usr/bin/下的svn文件都替换成安装好的svn里的新版本文件

例如:

cp -a /usr/local/svn/bin/svnserve /usr/bin/svnserve

like this.....and so on.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值