First of all download NetBeans IDE from http://netbeans.org/downloads/. After downloading navigate to that directory through shell. And run this command in shell.[bash] sh netbeans-7.3-php-linux.sh
Then the NetBeans installer launches, continue through the installation process. Below are the Screen Shots of instillation steps.