How to install Latest Apache NetBeans IDE on Ubuntu Linux

Apache NetBeans is a free and open source IDE (Integrated Development Environment for Java, PHP, HTML5, JavaScript and you can also use other languages like C, C++ and Groovy. You can also extend its features using plugins. Apache NetBeans runs on Windows, macOS, Linux and Solaris and released under Apache License 2.0.

Apache NetBeans IDE

Install Apache NetBeans on Ubuntu

To install and run latest version of Apache NetBeans on your system you need JDK 8 or JDK 11 or the latest JDK 16 (current JDK release). You can check the installed java version by running this command.

java -version

If you don’t have java then install it via below commands.

sudo apt update
sudo apt install default-jdk

If needed type your Ubuntu user password during the installation.

Download Apache NetBeans

Download the latest version of Apache NetBeans installer script in a .sh file format from the above download link and save it on your Downloads folder.

Example: Just click on (SHA-512, PGP ASC) link.

NetBeans installer link

Here ”” is the current version file name. It will look different for you based on your version.

It will open the a new page. Here you can right click on the NetBeans installer script and select save link as option and store in your Downloads folder. The downloaded file size is around 450 MB.

Also Read:  How to Install Komodo IDE on Ubuntu

NetBeans installer download

Now navigate to the Downloads folder using terminal

cd Downloads

and make the Apache NetBeans installer executable by running this command.

sudo chmod +x

Here “” is the downloaded installer name. You can change the above command based on your Downloaded installer name. After that run below command.

sudo ./

It will open the GUI Apache NetBeans installer window. Now click Next and start and complete the installation. It will take some time to complete the installation.

Apache NetBeans installer GUI

Apache NetBeans installer finish


Apache NetBeans project


Install Apache NetBeans via Snap:

You can also install Apache NetBeans via snap from snap store. Open terminal (ctrl+alt+t) and run below Apache NetBeans snap installation command.

sudo snap install netbeans --classic

Install Apache NetBeans via Flatpak:

Install flatpak and flathub and restart your system. Then run below Apache NetBeans flatpak installation command.

flatpak install flathub org.apache.netbeans

You can run it via

flatpak run org.apache.netbeans

If you need you can also install the plugins from the below download link.
Apache NetBeans Plugins

That’s it.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.

Leave a Reply