Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

On a bash terminal type

type -a eclipse
share|improve this answer
1  
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

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.

share|improve this answer

Try the whereis command:

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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