`

CentOS 下安装 svn

 
阅读更多

CentOS 下安装 svn

 

命令:yum install -y subversion

不是:yum install -y svn

 

 

[root@NODE22 ~]# svn
-bash: svn: command not found
[root@NODE22 ~]# yum install -y svn
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
base                                                     | 1.1 kB     00:00    
extras                                                   | 2.1 kB     00:00    
updates                                                  | 1.9 kB     00:00    
updates/primary_db                                       | 345 kB     00:00    
Setting up Install Process
No package svn available.
Nothing to do
[root@NODE22 ~]# yum install -y subversion
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package subversion.i386 0:1.6.11-10.el5_8 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: neon >= 0.25.5-6.el5 for package: subversion
--> Processing Dependency: libneon.so.25 for package: subversion
--> Processing Dependency: libapr-1.so.0 for package: subversion
--> Processing Dependency: libaprutil-1.so.0 for package: subversion
--> Running transaction check
---> Package apr.i386 0:1.2.7-11.el5_6.5 set to be updated
---> Package apr-util.i386 0:1.2.7-11.el5_5.2 set to be updated
--> Processing Dependency: libpq.so.4 for package: apr-util
---> Package neon.i386 0:0.25.5-10.el5_4.1 set to be updated
---> Package perl-URI.noarch 0:1.35-3 set to be updated
--> Running transaction check
---> Package postgresql-libs.i386 0:8.1.23-4.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch         Version                 Repository     Size
================================================================================
Installing:
 subversion            i386         1.6.11-10.el5_8         updates       3.1 M
Installing for dependencies:
 apr                   i386         1.2.7-11.el5_6.5        base          124 k
 apr-util              i386         1.2.7-11.el5_5.2        base           80 k
 neon                  i386         0.25.5-10.el5_4.1       base          101 k
 perl-URI              noarch       1.35-3                  base          116 k
 postgresql-libs       i386         8.1.23-4.el5_8          updates       197 k

Transaction Summary
================================================================================
Install       6 Package(s)
Upgrade       0 Package(s)

Total download size: 3.7 M
Downloading Packages:
(1/6): apr-util-1.2.7-11.el5_5.2.i386.rpm                |  80 kB     00:00    
(2/6): neon-0.25.5-10.el5_4.1.i386.rpm                   | 101 kB     00:00    
(3/6): perl-URI-1.35-3.noarch.rpm                        | 116 kB     00:00    
(4/6): apr-1.2.7-11.el5_6.5.i386.rpm                     | 124 kB     00:00    
(5/6): postgresql-libs-8.1.23-4.el5_8.i386.rpm           | 197 kB     00:00    
(6/6): subversion-1.6.11-10.el5_8.i386.rpm               | 3.1 MB     00:02    
--------------------------------------------------------------------------------
Total                                           927 kB/s | 3.7 MB     00:04    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : apr                                                      1/6
  Installing     : perl-URI                                                 2/6
  Installing     : neon                                                     3/6
  Installing     : postgresql-libs                                          4/6
  Installing     : apr-util                                                 5/6
  Installing     : subversion                                               6/6

Installed:
  subversion.i386 0:1.6.11-10.el5_8                                            

Dependency Installed:
  apr.i386 0:1.2.7-11.el5_6.5               apr-util.i386 0:1.2.7-11.el5_5.2   
  neon.i386 0:0.25.5-10.el5_4.1             perl-URI.noarch 0:1.35-3           
  postgresql-libs.i386 0:8.1.23-4.el5_8   

Complete!
[root@NODE22 ~]# svn
使用“svn help”得到用法。
[root@NODE22 ~]# whereis svn
svn: /usr/bin/svn /usr/share/man/man1/svn.1.gz
[root@NODE22 ~]#

 

 

2
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics