Install Subversion

# apt-get install subversion

Install dependencies and referred packages. As well as python bindings for subversion.

then create a directory :

# mkdir -p /var/svn

then go to the path

# cd /var/svn

and finally create the repository

# svn create repo

Vihan, please finish this properly with svn initial import, svnd v/s Apache mod_dav, mod_dav_svn foo bar.