Tuesday, January 1, 2013

Installing Eclipse-PDT with PHP support in Ubuntu 12.10

Eclipse is a full fledged IDE which is being used for the development and debugging of many programming languages like Java, PHP, ROR etc.

In this article we are going to discuss the installation of Eclipse in Ubuntu with support for the PHP. The version of Eclipse which comes default in the Ubuntu repositories is Eclipse 3.8
Eclipse Splash Screen
Eclipse Splash Screen

First of all we will install Eclipse, and then we will proceed with the PDT (PHP Development Tools) installation. All this is pretty easy.

Open the Ubuntu Software Center from the Unity Dash.

Unity Dash
Unity Dash
Type in Eclipse in the search box (1) there and click the More Info (2) button, as shown in the screenshot below.


Click the Install button and the Part 1 of the Eclipse installation will be complete.

An alternative way to installing Eclipse is using the Command-line install. It is quite easy too - Just paste the following command into the terminal and Eclipse will be installed.

sudo apt-get install eclipse

Command line currently shows Eclipse as installed already

Now we proceed to the PHP Development Tools installation in Eclipse. For this we need to open up our Eclipse and click the Help menu at the top and click on the Install New Software link. The Install New Software dialog box opens up and next we select the Indigo repository in the dropdown (1). Select the Programming Languages>PHP Development Tools (PDT) SDK Feature (2) and click Next.

Install New Software dialog box in Eclipse
Accept the End Users License Agreement (EULA) and click Next. Restart Eclipse and your Eclipse-PDT or Eclipse with PHP Development Tools is ready to use.

To verify, click the File menu and click New Project and select Other. Keyboard shortcut for this is Ctrl+N. You will see the PHP project options there.

File>New>Other Menu in Eclipse-PDT

Your Eclipse PDT is ready to use. Happy PHP-ing with Eclipse :)

44 comments:

  1. I need to run eclipse with root privilegies before install PDT plugin:
    $ sudo eclipse

    ReplyDelete
  2. Error
    Samba 4
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I have got above error. How to proceed now. Reply if you can. Thanks!

    -Anand
    http://www.quotes160.com

    ReplyDelete
  3. thanks you so much i was able to install and use Eclipse

    ReplyDelete
  4. Ubantu is one of the most likable OS for companies for its light weight version. I think its so useful information about how to install Eclipse-PDT with PHP support in Ubuntu 12.10, Thanks for sharing it.

    pitechnologies.org

    ReplyDelete
  5. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.

    rpa Training in Chennai

    rpa Training in bangalore

    rpa Training in pune

    blueprism Training in Chennai

    blueprism Training in bangalore

    blueprism Training in pune

    rpa online training

    ReplyDelete
  6. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    Click here:
    angularjs training in chennai
    Click here:
    angularjs2 training in chennai

    ReplyDelete
  7. Your story is truly inspirational and I have learned a lot from your blog. Much appreciated.
    Click here:
    Microsoft azure training in online
    Click here:
    Microsoft azure training in tambaram

    ReplyDelete
  8. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
    python training in chennai
    python training in Bangalore

    ReplyDelete
  9. This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me.. 
    DevOps online Training|DevOps Training in USA

    ReplyDelete
  10. Great content thanks for sharing this informative blog which provided me technical information keep posting.
    Blueprism training in Chennai

    Blueprism online training

    Blue Prism Training in Pune

    ReplyDelete
  11. I am so proud of you and your efforts and work make me realize that anything can be done with patience and sincerity. Well I am here to say that your work has inspired me without a doubt.
    java training in chennai | java training in bangalore

    java interview questions and answers | core java interview questions and answers

    ReplyDelete
  12. This is ansuperior writing service point that doesn't always sink in within the context of the classroom. In the first superior writing service paragraph you either hook the reader's interest or lose it. Of course your teacher, who's getting paid to teach you how to write an good essay, 

    Data Science training in kalyan nagar | Data Science training in OMR
    Data Science training in chennai | Data science training in velachery
    Data science training in tambaram | Data science training in jaya nagar

    ReplyDelete
  13. Appreciating the persistence you put into your blog and detailed information you provide
    python training in velachery | python training institute in chennai

    ReplyDelete
  14. I am obliged to you for sharing this piece of information here and updating us with your resourceful guidance. Hope this might benefit many learners. Keep sharing this gainful articles and continue updating for us.
    mobile service center in vadapalani
    mobile service center in porur
    best mobile service center

    ReplyDelete
  15. This is so elegant and logical and clearly explained. Brilliantly goes through what could be a complex process and makes it obvious. windows azure training

    ReplyDelete
  16. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end. AWS training in chennai | AWS training in anna nagar | AWS training in omr | AWS training in porur | AWS training in tambaram | AWS training in velachery

    ReplyDelete
  17. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog
    DevOps Training in Chennai

    DevOps Course in Chennai

    ReplyDelete
  18. If Database is a job that you're dreaming of, then we, Infycle are with you to make your dream into reality. Infycle Technologies offers the best Oracle DBA Training in Chennai, along with various levels of Oracle courses such as Oracle PLSQL, Oracle Hive, etc., in hands-on practical training with professional tutors in the field. The training will be tested by various levels of preparation strategies for the placement and by that the mock interviews will be given for the candidates, so that, they can face the interviews with full confidence. For your enhanced future, call 7502633633 to know more offers and training.

    ReplyDelete
  19. Very Informative blog thank you for sharing. Keep sharing.

    Best software training institute in Chennai. Make your career development the best by learning software courses.

    best rpa training in chennai
    uipath training in chennai
    php training in chennai

    ReplyDelete