Here are the simple steps, I used to update eclipse to Kepler on my Ubuntu 12.04.3 box.
1. download the appropriate package of eclipse from http://www.eclipse.org/downloads/
untar the package and copy it to the location you prefer, /opt in my case
# untar
tar -zvxf eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz
# copy the uncompressed folder into /opt
sudo cp -R eclipse /opt
# change owner of all files to root
sudo chown -R root:root /opt/eclipse
2. link eclipse executable to
/usr/bin/
sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
3. Create the following .desktop file if you want to be able to pin eclipse to the luncher.
# create eclipse.desktop file at /usr/share/applications/
gedit /usr/share/applications/eclipse.desktop
4. put the following contents in the file
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
Now we are all set.
I did the installatoin, now that I need to uninstall it, could you please show me how?
ReplyDeleteremove all the files you have created by following the upper instructions:
Deletesudo rm -rf /usr/share/applications/eclipse.desktop
sudo rm /usr/bin/eclipse
sudo rm -rf /opt/eclipse
Hope that helps.
Mohammed,
ReplyDeleteDeleting all the files, link and fold you created will remove eclipse if you installed it following this instruction.
sudo rm /usr/bin/eclipse
sudo rm /usr/share/applications/eclipse.desktop
sudo rm -rf /opt/eclipse
thx a lot.
ReplyDelete'can not execute binary file' what's the probleme here please ?
ReplyDeletesorry for question its work just wrong on version of eclipse thanks for u
ReplyDelete