Easy Tutorial
❮ Svn Life Cycle Svn Branch ❯

SVN Installation


Installing SVN on Windows

  1. Prepare the SVN installation file.

Download link: https://sourceforge.net/projects/win32svn/

  1. After downloading, there will be a file named Setup-Subversion-1.8.16.msi in the corresponding drive, with the latest version being 1.8.16. We will use this version. Double-click the installation file to install it. We will install it in the directory D:\Program Files (x86)\Subversion.

  2. View the directory structure.

Add the bin directory from the SVN installation directory to the path environment variable. Then, enter svnserve --help in the command line window to check if the installation is functioning correctly.

With this, the SVN installation on Windows is complete.


Installing SVN on CentOS

Most GNU/Linux distributions come with Subversion preinstalled, so it is likely already installed on your system. You can check if it is installed using the following command:

svn --version

If the Subversion client is not installed, the command will report an error indicating that the svn command is not found.

[tutorialpro@centos6 ~]$ svn --version
bash: svn: command not found

You can install it using the yum install subversion command.

[tutorialpro@centos6 root]$ su -
Password:
[root@centos6 ~]# yum install subversion
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirrors.neusoft.edu.cn
 * extras: mirrors.zju.edu.cn
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
...

After successful installation, execute the svn --version command.

[root@centos6 ~]# svn --version
svn, version 1.6.11 (r934486)
   compiled Aug 17 2015, 08:37:43

With this, the SVN installation on CentOS is complete.


Installing SVN on Ubuntu

If the Subversion client is not installed, the command will report an error indicating that the svn command is not found.

root@tutorialpro:~# svn --version
The program 'svn' is currently not installed. You can install it by typing:
apt-get install subversion

You can install it using the apt-get command.

root@tutorialpro:~# 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 successful installation, execute the svn --version command.

root@tutorialpro:~# svn --version
svn, version 1.8.13 (r1667537)
   compiled Sep  8 2015, 14:59:01 on x86_64-pc-linux-gnu

With this, the SVN installation on Ubuntu is complete.

❮ Svn Life Cycle Svn Branch ❯