Ubuntu – How to install svn

aptsoftware installationsvn

I am trying to install svn and am running into issues. The command I am running is sudo apt-get install svn. When I run this, I get the error "Unable to locate package svn". Why is this? How do I fix it?

Best Answer

The package is called subversion Install subversion (abbreviated svn). You've to install it by running:

sudo apt-get install subversion

This package contains the svnserve daemon too (not started by default). If you want to host a subversion server over HTTP, you must install apache2 and configure it accordingly.