Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
2  
in such cases I would open synaptic and type 'svn' in the searchbox –  modosansreves Aug 3 '11 at 15:42
1  
in such cases I would run apt-cache search subversion –  don.joey Feb 19 '13 at 10:11
add comment

1 Answer 1

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.

share|improve this answer
    
Is there a client only package as well? Or you have to install the server as well. –  Martin Jun 4 at 11:13
    
@Martin The server binary (svnserve) is only 85 KiB, the administration tool svnadmin is 72KiB. Their manpages are some KiB. Just install the subversion package to get all subversion programs (svnserve "server", svn client (256KiB)). You do not need a server like Apache for the client functionality. –  Lekensteyn Jun 4 at 12:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.