I was installing Eclipse via Synaptic Package Manager and loaded the PHPEclipse extension afterwards. Unfortunately there was a bug that prevented the PHP Editor from working. And as I saw there was an Eclipse 3.4 (codename: ganymede) release, I thought it is about time to upgrade. But how to do without the help of our beloved package manager? Too easy, really.
WARNING! Unfortunately it does seem to cause trouble with at least one installation so far. Please be aware this is no official upgrade guide but a workaround that worked for me and a lot of others, but no guarantee is given it will be working on your system. You take the risk and should at least backup folders that will be changed due to this guide. Also have a look onto the “Eclipse crashes on Ubuntu” story in my blog about ways to solve issues mainly related to default Ubuntu JAVA versions and incompatibility with Eclipse.
During that procedure I lost some of my previously installed plugins, but did not mind as they were not working properly anyway or I could easily install them again. Make sure you don’t have any important or personal files / projects in the eclipse folder. Normally the workspace is set to a separate folder by default.
1. First of all you download the latest release from the eclipse download site.
2. For the installation you simple copy the new eclipse package contents of the existing eclipse installation in /usr/lib/eclipse. Two choices here.
看这儿就行了:
1. Once that has finished you extract it in you download folder and than copy the folder to /usr/lib/.
cd /home/daniel/Downloads
tar xvzf eclipse-java-ganymede-linux-gtk.tar.gz
sudo cp -Rf /home/daniel/Downloads/eclipse /usr/lib/
2. Or you extract it into /usr/lib/ right away.
cd /usr/lib/
sudo tar xvzf /home/daniel/Downloads/eclipse-java-ganymede-linux-gtk.tar.gz
3. Restart eclipse and that should give you a all new Eclipse experience.
I am still examining the features, but am pretty pleased so far, especially as PHPEclipse works again.






