Issue
I have gradle installed on my Ubuntu 15.10 System.I want to find the location where it is.
I am following this (https://docs.gradle.org/current/userguide/tutorial_java_projects.html)
article.Here it is given that sample program can be found at samples/java/quickstart
.
I want to open this sample program and for this I want to find location of gradle on my system.
Solution
There's multiple ways to locate where gradle
is actually installed on your computer :
locate
: will locate where the bingradle
is on your computer. Assuming,gradle
is on yourPATH
. It will most likely locate gradle in/usr/bin
or/usr/share
directory. If it locates the symbolic link use eitherls -l
orreadlink
to see where the bin is actually located.which
: similar aslocate
find
: to use at end if neitherlocate
neigherwhich
worked. It's the "brutal" way. You can usefind / -name "gradle" 2> /dev/null
to find all occurence of gradle (exact match) on your computer.
Answered By - Mickael