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?
Asked
Active
Viewed 1.3k times
3 Answers
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
-
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. – Shadowblitz16 Sep 12 '22 at 03: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

Nitin Venkatesh
- 22,221
1
Another solution is to get the binary location from the Subversion package:
dpkg -L subversion | grep bin | grep '\<svn$'
Output:
/usr/bin/svn

BuZZ-dEE
- 14,223
whereis svn
? – Nitin Venkatesh Feb 20 '13 at 15:01/usr/bin
or/usr/local/bin
. – mikewhatever Feb 20 '13 at 15:01