Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

After installing Eclipse IDE via apt-get install eclipse I found the Eclipse folder in directory:


But after I found directions that I must copy this folder to the directory:


Please, help me understand two points:

Why does Eclipse install in /usr/share? Why not the other directory?

And why must I move the folder to the /usr/share directory?

share|improve this question
up vote 4 down vote accepted

When you install a package, many files might be installed in many places. Checking out the contents of the eclipse package for Oneiric on shows me that it (indirectly) depends on the package eclipse-platform, and the file list for that package shows me that it installs many files under /usr/lib/eclipse and an executable (or link) in /usr/bin.

You do not need to copy any folders or files yourself after installing this package; it's not a good idea to do that, because then the package management system can't keep track of the files (if you uninstall it, the package management system won't know that you've manually moved the files around).

(Why do you think that you need to move files around manually?).

share|improve this answer
I used this link: – user471011 Nov 22 '11 at 15:50
@user471011: Those steps apply only when installing eclipse manually, not using apt-get. So you have to decide either to use apt-get or following that blog entry. – tohuwawohu Nov 22 '11 at 16:17

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.