3

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?

3
  • 3
    Did you try whereis svn ? Feb 20, 2013 at 15:01
  • 2
    Executables are usually in /usr/bin or /usr/local/bin. Feb 20, 2013 at 15:01
  • I was attempting to use the find command
    – Ted
    Feb 20, 2013 at 15:03

3 Answers 3

5

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
1
  • it says it's in usr/bin/svn and in dolphin file managers it's there but intellji rider refuses to load or even list it in it's file explorer. Sep 12, 2022 at 3:15
3

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

1

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

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

Output:

/usr/bin/svn

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .