Possible Duplicate:
How do I install Eclipse Indigo 3.7.1?

I've already downloaded linux eclipse tar file from eclipse site as file named:eclipse-cpp-indigo-SR2-incubation-linux-gtk.tar.gz.

Now I want to install it in ubuntu 10.10. I'm new in ubuntu and linux. Would you tell me simply and step by step how can I install it? Thanks

Clarification it's Eclipse c++ Endigo

marked as duplicate by Alvar, hhlp, jrg May 8 '12 at 15:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You don't need to do any special thing; just extract from the archive to some directory and launch ./eclipse from there.

  • I did it. It returned "The program 'eclipse' is currently not installed. You can install it by typing:sudo apt-get install eclipse-platform". After I wrote "sudo apt-get install eclipse-platform" it re turned :"E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?" – saman May 8 '12 at 7:18
  • Have you wrote "eclipse" or "./eclipse" in the terminal? – Anton May 8 '12 at 7:39
  • Also, the error "E: Could not ..." happens because another installation is running on the same moment (just wait) or apt-get is stuck(and now you need to fix this) – Anton May 8 '12 at 7:51
  • I wrote "./eclipse /home/es/Desktop" in terminal. Now it returns : "No such file or directory" – saman May 8 '12 at 8:25
  • cd /home/es/Desktop && ./eclipse – Anton May 8 '12 at 21:36

The Process mentioned by Anton & Alvar is Correct, if it still not working then there may be two things

1>the downloaded file may be corrupted.

2>you don't have the file permission in that directory.

One more thing check JDK is installed on your system or not?

  • Permission isn't changeable. Do you know why? – saman May 8 '12 at 8:55
  • Suppose you extracted archive file in /home/username/,then open terminal and goto /home/username/ and Try using sudo chmod -R 777 eclipse. i am sure it will work. Otherwise extract it again. – Sumant May 8 '12 at 10:53
  • You should be on a administrator account. This might not work if you are on guest or standard account. Do all installation using the Administrator account. – Curious Apprentice May 8 '12 at 13:29
  • Check JDK is working or not. OpenJDK also works fine. Commands are java and javac – Curious Apprentice May 8 '12 at 13:30

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