How do I find the folder where my eclipse was being installed in linux?

I can run it via console, but I dont find the folder.

link|improve this question
feedback

3 Answers

On a bash terminal type

type -a eclipse
link|improve this answer
This command is not what he is looking for. He searches the installation path. The result shown is only the executable. The whereis command is better this gives at least the directories where the parts of eclipse are. locate could help but can be quite confusing, as it produces just a LOT of output. And you might have to run sudo updatedb first. readlink again only gives the executable. – Darokthar Feb 18 '11 at 19:34
feedback

Try the whereis command:

$ whereis eclipse
eclipse: /usr/share/eclipse
link|improve this answer
feedback

The executable can be found in:

readlink -f `which eclipse`

readlink is used for symbolic links.


For what concern the other files i guess you can always run:

locate eclipse

to have an idea of how files are distributed in your file system.


Alternatively, if eclipse is installed from a package, you can:

dpkg -L eclipse

to list the files installed from the eclipse package.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.