Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Why does Eclipse install to this directory?

Writer Sophia Terry

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

/usr/share/eclipse

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

/usr/local/eclipse.

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?

1 Answer

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?).

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy