19

I'm working on Eclipse Indigo on Ubuntu 12.04.

I'm trying to completely uninstall Eclipse (with Synaptic Package Manager + Mark for complete removal), but when I reinstall it, I clearly see that it has kept all parameters, and history, which is what I'm trying to get rid of. I also tried the following.

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

As suggested here, no luck either.

  • 5
    How did you install initially? – Mitch Apr 18 '13 at 20:14
  • From the software center, typing "Eclipse". Nothing fancy ;-) – poumtatalia Apr 18 '13 at 20:54
  • Try using a different workspace, after doing a new install. – saji89 Nov 19 '14 at 8:42
36

Run following commands:

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

This will uninstall the dependencies and related packages that were installed along with eclipse. This should do the trick.

  • Is this valid for Eclipse installed via installer? – Suncatcher Feb 25 at 11:44
5

You were almost done. Add an asterisk (*) at the end of eclipse word.

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

Today I have encountered the same problem and searched for a solution. I have seen this question. I have tried the same steps but failed. Then a friend of mine used those commands above.

It removed all about eclipse.

2

I would look in the /etc, /usr, and /var directories for any files that may be related to Eclipse. Using Synaptic or other package managers will only remove files that were part of the installation, not any of the settings files that Eclipse may have made when used.

  • 1
    Depends. If you have manually installed it, this is how you have to do it. But if it is installed through apt-get, this is a bad idea. – Anders Nov 6 '14 at 3:35
2

I tried many of the suggested solutions and kept coming up with similar results. Eventually fired up software centre and found that it was registering Elipse as installed. So I installed it through software centre and the process overwrote what was installed already ( probably because I installed via command line).

Then fired up synaptics package manager, did a search for eclipse while sorting by "installed version" column. Selected all dependent packages and marked them for complete removal. That did the trick.

1

First remove eclipse:

CTRL+ALT+T, opens up the terminal. Type in sudo apt-get autoremove eclipse.

Now, type in cd / which will put you in the "File System" directory. Next you type gksu nautilus and it will ask you for your password. When you type it in, the File System folder (with all privileges) will pop out. From there you click the search button, type in eclipse, wait for everything to be found and simply delete everything it found.

Then you can go to Ubuntu Software Center and install fresh version of eclipse and add your new packages from synaptic.

1

I just ran into the same problem today, and managed to solve it with :

sudo apt-get purge eclipse*
rm -r ~/.eclipse/

(Just add a '*' after eclipse) Eclipse is in fact installed as a bunch of different packages, which names all starts with 'eclipse' ; so this should indeed remove all your previous configuration

1

sudo apt-get autoremove eclipse --purge

-1

Using synaptic package manager download "gtkorphan",it will remove your config and a lot of other orphaned packages.After download look in your dash home for Remove Orphaned Packages.I use it religiously to clean up my 12.04 system as well.

protected by Community Apr 17 '17 at 7:08

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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