How to install NetBeans on Ubuntu

I am going to assume that you have Ubutnu 18.04 or 19.04 version installed your system and you want to install NetBeans 10/11.

Go ahead and launch terminal and run this command to update Ubuntu core..

sudo apt update && upgrade

Install NetBeans 11 on Ubutnu with snap command

sudo snap install netbeans --classic

This command is going to install java and java jre and netbeans 11 on your Ubuntu 18.04/19.04

Install NetBeans 10 on Ubuntu 18.04/19.04

sudo apt install netbeans

This command would work on legacy Ubutnu versions as well. And will install java, java jre and NetBeans 10

To launch NetBeans type in the terminal

netbeans

If you still not able install netbeans on Ubuntu Linus destro, watch me install below…

Watch me install NetBeans on Ubuntu