Installing PHPEclipse on Ubuntu Feisty Fawn
Posted on 26 May 2007 (01:44 AM)
I recently installed Ubuntu's latest version, Feisty Fawn.
I'm not really comfortable yet, since I don't have any Linux experience whatsoever, and I didn't have time to research and play around extensively the last couple of days.
One of the first things I did after I installed the operation system, was downloading and installing PHPEclipse, my favourite code editor on both Mac and Windows.
I'm not sure why, and it may just be my inexperience with the system, but I ran into some errors. Fortunately, after lots of Google-searching, I managed to install it correctly.
It isn't even that hard actually, and I'm a little surprised I had problems in the beginning. I want to share the method I used for installing Eclipse and PHPEclipse, for there might be another lost soul like me somewhere out there. Also, the downside of open-source software (especially *nix based software) is that manuals, documentations and the like are always a bit vague to me.
To compete with that, here's a clear outline of the installation process. Follow the steps and you're good to go. I promise.
- From your desktop, go to Applications -> Accessories -> Terminal
- Inside the terminal, type the following:
sudo apt-get install eclipse - Eclipse 3.2.2 will now be installed. You will be asked for your password.
- When the procedure is done, Eclipse will reside inside Applications -> Programming. Click on it to start the program.
- Then, inside Eclipse, go to Help -> Software Updates -> Find And Install...
- Check "Search for new features to install", and click on "New Remote Site".
- Use "PHPEclipse Update Site" as a name and, more importantly, use "http://PHPeclipse.sourceforge.net/update/releases".
- A new remote site is added. Click 'next' and 'finished' until you enter a screen that provides a button labeled "Install All". Click it.
- PHPEclipse is now installed. After restarting Eclipse, open the PHP view and create a new file. A dialog box tells you an error has occurred and you have to take a look inside the Log.
- Close Eclipse, surf to http://www.plog4u.org/index.PHP/Using_PHPEclipse_:_Installation_:_Installing_PHPEclipse#Ubuntu_Feisty_7.04_Fix and follow the instructions listed there.
- Restart Eclipse and all is well!
Hopefully this information will help someone who, just like me, has basically no clue what to do in Linux ;)
Filed under Software and Hardware
- ← previous article: Why Opera 9 might become my new favourite browser
- → next article: Take your cookies to the next level with Subcookies
Sorry, due to spam, comments are temporarily out of order.
Comments:
Thanks for the great tip, I just installed Fiesty Fawn on a separate HD (in effort to transition away from MS stuff), and I had been using Eclipse quite a bit for many different projects, in different languages. I had (in XP) installed the all-in-one Eclipse WPT (coz the update site broke everything) and actually experienced the same in Ubuntu: Eclipse and WPT just doesn't want to work. But thanks to your post, I can resume my adventure in Ubuntu without the despair of returning to Windows to get some work done :P
Cheers,
Aaron
Thanks man!
I almost cried because I couldn't use PHPeclipse heheheh
Wuhaha, thanx for the great info. Needed a PHP ide badly.
O and just switched to ubuntu. I had to choose between Vista or Ubuntu (with Beryl).
A slightly less hackish way of the fix at #10 is to:
sudo apt-get install sun-java6-jre
sudo update-java-alternatives -s java-6-sun
This fixes the default Java runtime for everything in Feisty.
Thanks alot man:)
Thanks for the quick guide. Much appreciated.
There is also a project called easyeclipse where you can download eclipse with PHPeclipse and some other plugins. http://easyecli...utions/PHP.HTML
this comment has been quoted by Harmen Janssen
Thanks Albin!
That sounds like an easy solution, I'll certainly check it out.