Step 1 – Install JAVA
Java is the primary requirement for the Netbeans installation on the system. Use below command to verify if Java is already installed or not.
java -version java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
If you don’t have Java installed, use tutorial => Install Java on Ubuntu
Step 2 – Download NetBeans (PHP) Installer
After installing/verifying java on your system, download NetBeans for PHP latest installer file, For following commands, we are running as root user.
sudo su - wget http://download.netbeans.org/netbeans/8.2/final/bundles/netbeans-8.2-php-linux-x64.sh
Step 3 – Install NetBeans IDE
Make the downloaded script executable and execute the script like below. As of today NetBeans 8.2 is the latest version is available to install, For more recent versions, visit https://netbeans.org/ official site.
chmod +x netbeans-8.2-php-linux-x64.sh ./netbeans-8.2-php-linux-x64.sh
The installer will launch an installation wizard. Follow the given instructions and complete the wizard.
Complete above installer by clicking Next and Accept terms for uses.
Step 4 – Open NetBeans IDE
After finishing the installation of NetBeans start using Dashboard search box, Type “NetBeans” and it will display launcher icon. Click on the icon to launch Netbeans IDE.