Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 3 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 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?).

share|improve this answer
    
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

 
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.