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.

To remove Eclipse I used:

sudo apt-get autoremove eclipse rm -r ~/.eclipse/

Now when installing i get this:

anjali@anjali-ThinkPad-Edge-E430:~$ sudo apt-get install eclipse
[sudo] password for anjali: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
eclipse is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 608 not upgraded.
anjali@anjali-ThinkPad-Edge-E430:~$ eclipse
The program 'eclipse' is currently not installed.  You can install it by typing:
sudo apt-get install eclipse-platform
share|improve this question
    
What happens when you do sudo apt-get purge eclipse && sudo apt-get install eclipse ? –  Alvar Sep 25 '13 at 14:10
    
Post this command output: dpkg -l | grep eclipse –  PeppeDAlterio Sep 25 '13 at 14:16
    
Why not upgrading the system along te way... you have 608 packages no upgraded. –  Braiam Sep 25 '13 at 15:18
add comment

2 Answers

The program 'eclipse' is currently not installed.  You can install it by typing:
sudo apt-get install eclipse-platform

And one more thing, to uninstall a package use:

sudo apt-get remove package_name

or

sudo apt-get purge package_name

See man apt-get for more info:

autoremove is used to remove packages that were automatically
installed to satisfy dependencies for other packages and are now no
longer needed.
share|improve this answer
add comment

Is not more easy install directly from Eclipse sources? you dont need install everything more,just download the zip and unzip it and Eclipse works fine, I do that all the time with no problems. Only Java is a requirement but I guess you already got it.

share|improve this answer
    
Actually the less you manually touch your system and use apt instead the better. Installing eclipse from the repos reassures you that it will work out-of-the-box. –  Braiam Sep 26 '13 at 15:17
add comment

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.