0

This question already has an answer here:

I have a eclipse. I removed default eclipse from /usr/lib as,

sudo apt-get remove eclipse

Then I copied my eclipse folder to /usr/lib and tried to launch it as,

sudo eclipse

But I am getting the following error,

usr/bin/eclipse: 35: exec: /usr/lib/eclipse/eclipse: not found

My eclipse which I copied is present in /usr/lib. Why am I getting this error? My requirement is I have to remove the default eclipse and launch my own eclipse from /usr/lib.

marked as duplicate by muru, αғsнιη, Eric Carvalho, Fabby, Elder Geek Feb 19 '15 at 19:53

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.

0

you need to purge it, that way it will remove all the configurations saved in your home folder.

sudo apt-get purge eclipse and then sudo apt-get install eclipse

  • Can you please be more specific? I already have my eclipse which I copied to /usr/lib. Now if I do sudo apt-get purge eclipse and then sudo apt-get install eclipse, what will happen to my eclipse which is present in /usr/lib ? – Suraj HK Feb 19 '15 at 9:02
  • is eclipse installed files in /usr/lib they will be removed when you do apt-get remove, purge will do that aswell, but I can see you already ran remove before. make a copy if not sure – thebugfinder Feb 20 '15 at 9:40
  • why do you care about what you have in /usr/lib, you said you wanted to reinstall it, right? – thebugfinder Feb 20 '15 at 9:41

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