Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

On a bash terminal type

type -a eclipse
share|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
@Darokthar If you know where the executable is, you can look inside it (open in editor) and there is the path to the directory. – Rafael Cichocki Nov 1 '14 at 15:54

Try the whereis command:

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

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

Your Answer


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.