Installing Subversion on CentOS

Subversion is a open source version control system (VCS) that makes developevers easier to manage files and directories, and the changes made to them, over time. This allows one to recover older versions of the data or examine the history of how the data changed. It also helps software developers to work together maintaining complete history of their work.

SVN Installation

First check whether SVN is already installed or not by using following command.
[root@gladiator ~]# svn --version

If it is not installed, the command will report an error saying ‘svn: command not found’.

To install svn, run the following yum command.
[root@gladiator ~]# yum install mod_dav_svn subversion

The mod_dav_svn package allows access to a repository using HTTP, via the Apache httpd server and subversion package installs svnadmin tool. Subversion reads it’s configuration from /etc/httpd/conf.d/subversion.conf file.

To run Subversion with Apache, make the required changes to /etc/httpd/conf.d/subversion.conf file.


Have something to Add?

Loading Facebook Comments ...
Loading Disqus Comments ...