Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Subversion via the command line. But I need to find the executable to point to it in my IDE. Do you know where it is located in the Ubuntu file system?

share|improve this question
Did you try whereis svn ? – Nitin Venkatesh Feb 20 '13 at 15:01
Executables are usually in /usr/bin or /usr/local/bin. – mikewhatever Feb 20 '13 at 15:01
I was attempting to use the find command – Ted Feb 20 '13 at 15:03
up vote 3 down vote accepted

The command which will tell you where a command is found in your current environment - it may be a better choice than whereis, since it searches the path of your current shell, rather than a fixed set of paths.

Usage is:

$ which svn
share|improve this answer

A quick whereis svn gives me the following paths:

nits@excalibur:~$ whereis svn
svn: /usr/bin/svn /usr/bin/X11/svn /usr/share/man/man1/svn.1.gz

So, there you have it, it's at /usr/bin/svn

share|improve this answer

Another solution is to get the binary location from the Subversion package:

dpkg -L subversion | grep bin | grep '\<svn$'


share|improve this answer

Your Answer


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.