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 ;)