SVN installation
Install SVN under windows
1. Prepare svn installation files
Open the browser http://subversion.apache.org/packages.html#windows
Click on the map red box link into the download page
2. When the download is complete, there will be a corresponding letter Setup-Subversion-1.8.16.msi files, the latest version is 1.8.16, here we use this version. Then double-click the installation file to install. We specify installed in D: \ Program Files (x86) \ Subversion directory.
3. Check the directory structure
Add the svn installation directory path to the bin directory path, type in the command line window svnserve --help, view the installation is normal or not.
At this point, windows installation under SVN
Install SVN in CentOS
Most GNU / Linux distribution version of the system comes with Subversion, so it is likely already installed on your system up. You can use the following command to check whether the installed.
svn --version
If the Subversion client is not installed, the command will report svn command not found error.
[w3big@centos6 ~]$ svn --version bash: svn: command not found
We can use the command yum install subversion installation.
[w3big@centos6 root]$ su - 密码: [root@centos6 ~]# yum install subversion 已加载插件:fastestmirror, security 设置安装进程 Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.neusoft.edu.cn * extras: mirrors.zju.edu.cn * updates: mirrors.aliyun.com 解决依赖关系 --> 执行事务检查 ...
After a successful installation, perform the svn --version command.
[root@centos6 ~]# svn --version svn,版本 1.6.11 (r934486) 编译于 Aug 17 2015,08:37:43
So far, centos under SVN installation is complete.
Install SVN on Ubuntu
If the Subversion client is not installed, the command will report svn command not found error.
root@w3big:~# svn --version The program 'svn' is currently not installed. You can install it by typing: apt-get install subversion
We can use the apt-get command to install
root@w3big:~# apt-get install subversion Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: augeas-lenses hiera libaugeas0 libxslt1.1 ruby-augeas ruby-deep-merge ruby-json ruby-nokogiri ruby-rgen ruby-safe-yaml ruby-selinux ruby-shadow Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libserf-1-1 libsvn1 ...
After a successful installation, perform the svn --version command.
root@w3big:~# svn --version svn, version 1.8.13 (r1667537) compiled Sep 8 2015, 14:59:01 on x86_64-pc-linux-gnu
So far, Ubuntu under SVN installation is complete.