I have looked at this question:
We use sudo apt-get install subversion
to install subversion on the server.
What should I do in order to install the subversion client?
SVN client is only needed and we don't need the server on all machines.
Also we don't need GUI access on Ubuntu machines.
Your question in fact contains the answer.
sudo apt-get install subversion
.svn command [options] [args]
.The
subversion
packageInstalling the whole packages (including both server and client) might seem like a lot of overhead, but it is the most easily maintainable solution. You easily get future updates, security releases and more. Also if ever one of your users desperately needs a subversion server, it is only a few commands away.
Use
svn --version
for the modules included:and use
svn --help
for more information. The available commands illustrate that thesubversion
package is the way to go.You could also install
svnkit
, but that comes with a lot ofjava
dependencies. Here is the official screenshot for the package (you can find it insynaptic
):For more information read http://svnbook.red-bean.com/ and http://subversion.apache.org.
Use RabbitVCS
RabbitVCS is a set of graphical tools written to provide simple and straightforward access to the version control systems you use.
Currently, it is integrated into the Nautilus and Thunar file managers, the Gedit text editor, and supports Subversion and Git, with a goal to incorporate other version control systems as well as other file managers.
It is primarily inspired by TortoiseSVN.
RabbitVCS is Free/Open Source Software written in the Python and is based upon the PyGTK library.
When you look what files are installed for the package
subversion
you'll that the package contains both client and server:So one possibility is using
Post-Invoke
to remove the server file after installation.99remove-svn-server
withsudo
in directory/etc/apt/apt.conf.d
.Add the following line
Every time you use
apt-get
(or other installation methods), it will call the script after finishing its actions. This small scripts looks ifsvnserve
exists and if yes, removes the file.Subversion package includes svn (Subversion client) also. So you don't need to worry. If you want a GUI use Rabbit.
As dedunumax said, the subversion package includes both client and server, but according to another answer on askubuntu (How do I install svn?) the server (daemon) is not started by default.
Theoretically this should mean that installing the subversion package should be all you need to do on client machines.