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?


When you install a package, many files might be installed in many places. Checking out the contents of the eclipse package for Oneiric on http://packages.ubuntu.com 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?).

  • I used this link: kochnielsen.dk/kurt/blog/?p=208 – user471011 Nov 22 '11 at 15:50
  • 1
    @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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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