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'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
2  
Did you try whereis svn ? –  nitstorm Feb 20 '13 at 15:01
1  
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

3 Answers 3

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
/usr/bin/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$'

Output:

/usr/bin/svn
share|improve this answer

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.