centos7 安装SVN

来源:互联网 发布:2年的java工程师的薪资 编辑:程序博客网 时间:2024/06/06 09:34
[root@bogon ~]# yum install svnLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfile * base: mirror.bit.edu.cn * extras: mirrors.btte.net * updates: mirrors.btte.netResolving Dependencies--> Running transaction check---> Package subversion.x86_64 0:1.7.14-10.el7 will be installed--> Processing Dependency: subversion-libs(x86-64) = 1.7.14-10.el7 for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_wc-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_ra_svn-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_ra_neon-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_ra_local-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_ra-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_diff-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libsvn_client-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.7.14-10.el7.x86_64--> Running transaction check---> Package apr.x86_64 0:1.4.8-3.el7 will be installed---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed---> Package subversion-libs.x86_64 0:1.7.14-10.el7 will be installed--> Finished Dependency ResolutionDependencies Resolved======================================================================================================= Package                      Arch                Version                      Repository         Size=======================================================================================================Installing: subversion                   x86_64              1.7.14-10.el7                base              1.0 MInstalling for dependencies: apr                          x86_64              1.4.8-3.el7                  base              103 k apr-util                     x86_64              1.5.2-6.el7                  base               92 k subversion-libs              x86_64              1.7.14-10.el7                base              921 kTransaction Summary=======================================================================================================Install  1 Package (+3 Dependent packages)Total download size: 2.1 MInstalled size: 7.5 MIs this ok [y/d/N]: yDownloading packages:(1/4): apr-util-1.5.2-6.el7.x86_64.rpm                                          |  92 kB  00:00:00     (2/4): apr-1.4.8-3.el7.x86_64.rpm                                                                       | 103 kB  00:00:05     (3/4): subversion-libs-1.7.14-10.el7.x86_64.rpm                                                         | 921 kB  00:00:05     (4/4): subversion-1.7.14-10.el7.x86_64.rpm                                                              | 1.0 MB  00:00:08     -------------------------------------------------------------------------------------------------------------------------------Total                                                                                          236 kB/s | 2.1 MB  00:00:09     Running transaction checkRunning transaction testTransaction test succeededRunning transaction  Installing : apr-1.4.8-3.el7.x86_64                                                                                      1/4   Installing : apr-util-1.5.2-6.el7.x86_64                                                                                 2/4   Installing : subversion-libs-1.7.14-10.el7.x86_64                                                                        3/4   Installing : subversion-1.7.14-10.el7.x86_64                                                                             4/4   Verifying  : subversion-1.7.14-10.el7.x86_64                                                                             1/4   Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                 2/4   Verifying  : apr-1.4.8-3.el7.x86_64                                                                                      3/4   Verifying  : subversion-libs-1.7.14-10.el7.x86_64                                                                        4/4 Installed:  subversion.x86_64 0:1.7.14-10.el7                                                                                            Dependency Installed:  apr.x86_64 0:1.4.8-3.el7           apr-util.x86_64 0:1.5.2-6.el7           subversion-libs.x86_64 0:1.7.14-10.el7          Complete!


检查是否安装成功

[root@bogon ~]# svn helpusage: svn <subcommand> [options] [args]Subversion command-line client, version 1.7.14.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, recursingon the directories.  If no arguments are supplied to such acommand, 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)   patch   propdel (pdel, pd)   propedit (pedit, pe)   propget (pget, pg)   proplist (plist, pl)   propset (pset, ps)   relocate   resolve   resolved   revert   status (stat, st)   switch (sw)   unlock   update (up)   upgradeSubversion is a tool for version control.For additional information, see http://subversion.apache.org/


原创粉丝点击