Installing NetBeans in Ubuntu is very easy but for that you want to install JDK.
without JDK is will not install.
If you want to install JDK Following Steps JDK INSTALLATION.
Than Install neatbeans for that type following command
goto the path of where your netbeans is downloaded
$sudo chmod +x netbean<version of netbeans>
now the installation will start.