Written by , Updated on June 6, 2020

NetBeans is a popular IDE for the Java application development. Which allows applications to be developed from a set of modular software components called modules. NetBeans is available to run on popular operating systems like Windows, macOS, Linux and Solaris systems.

Prerequisites

Apache NetBeans IDE requires Java 8 or later Java Development Kit installed on your system. To install Java on your system, execute following command

sudo apt install default-jdk

Install Netbeans on Ubuntu

We use snap package to install Netbeans IDE on Ubuntu Linux system. The latest Ubuntu system have default Snapd installed for application installation. Open a terminal on your system and run the following command to install Netbeans IDE.

sudo snap install netbeans --classic

On successfull install, you will se output like below:

netbeans 11.3 from Apache NetBeans* installed

Running Netbeans IDE

Search for the Netbeans under the applications. You will see the NetBeans launcher icon like below screenshot. Click on launcher button to start.

How to Install NetBeans on Ubuntu 20.04 Editor IDE netbeans

Netbeans will be started on your Ubuntu system.

How to Install NetBeans on Ubuntu 20.04 Editor IDE netbeans

Remove Netbeans

Once you dont’ need Netbeans on your system. Use the following command to remove netbeans from your Ubuntu system using snap command.

sudo snap remove netbeans

Conclusion

In this tutorial, you have learned to install Netbeans IDE using Snap packages on Ubuntu system.