How to Install NetBeans IDE on Ubuntu 18.04 / Ubuntu 17.10 / Linux

Download NetBeans from https://netbeans.org/downloads/8.2/

Follow the instruction

https://netbeans.org/community/releases/82/install.html

Or do it like this..

For Linux platforms, the installer file has the .sh extension. For these platforms, you need to make the installer files executable by using the following command: chmod +x . Type ./ to run the installer.

chmod +x netbeans-8.2-php-linux-x64.sh
./netbeans-8.2-php-linux-x64.sh

Then the installation window will appear, do it accordingly.