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 Answers
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. Sep 12, 2022 at 3:15
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
Another solution is to get the binary location from the Subversion package:
dpkg -L subversion | grep bin | grep '\<svn$'
Output:
/usr/bin/svn
whereis svn
?/usr/bin
or/usr/local/bin
.