How to Install NetBeans IDE 12 in Debian, Ubuntu and Linux Mint

The NetBeans (also known as Apache Netbeans) is an open-source and award-winning IDE (integrated development environment) application for Windows, Linux, Solaris, and Mac. The NetBeans IDE provides a much powerful Java application framework platform that allows programmers to easily develop Java-based web applications, mobile applications, and desktops. It is one of the best IDEs for C/C++ programming, and also it provides vital tools for PHP programmers.

The IDE is the only first editor, that provides support for many languages like PHP, C/C++, XML, HTML, Groovy, Grails, Ajax, Javadoc, JavaFX, and JSP, Ruby, and Ruby on Rails.

The editor is feature-rich and provides an extensive range of tools, templates, and samples; and it’s highly extensible using community developed plugins, thus making it well suited for software development.

NetBeans Tools and Capabilities

Netbeans IDE ships with the following features that take your application development to a whole new level.

  • A drag and drop GUI design tool for rapid UI development.
  • A feature-rich code editor with code templates & refactoring tools.
  • Integration tools such as GIT and mercurial.
  • Support for the latest Java technologies.
  • A rich set of community plugins.

In this article, we will show you different ways that you can use to install Apache NetBeans in Debian, Ubuntu and Linux Mint distributions. By the time of penning down this article, the latest release is Apache NetBeans 12 LTS.

Requirements:

  1. A Desktop machine with a minimum of 2GB of RAM.
  2. The Java SE Development Kit (JDK) 8, 11 or 14 is required to install NetBeans IDE (NetBeans does not run on JDK9).

Read Also: How to Install NetBeans IDE in CentOS, RHEL, and Fedora

How to Install Latest NetBeans IDE On Ubuntu, Mint & Debian

1. To install the most recent stable version of NetBeans IDE 12, first, you need to install Java JDK from the default repositories as shown.

$ sudo apt update
$ sudo apt install default-jdk

Next, verify the Java JDK version.

$ java -version

3. Now open a browser, navigate to NetBeans IDE download page and download the latest NetBeans IDE installer script (Apache-NetBeans-12.0-bin-linux-x64.sh) for your installed Linux distribution.

Alternatively, you can also download NetBeans IDE installer script in your system via wget utility, by issuing the below command.

$ wget -c https://downloads.apache.org/netbeans/netbeans/12.0/Apache-NetBeans-12.0-bin-linux-x64.sh

4. After the download completes, navigate to the directory where the NetBeans IDE installer has been downloaded and issue the below command to make the installer script executable and start installing it.

$ chmod +x Apache-NetBeans-12.0-bin-linux-x64.sh 
$ ./Apache-NetBeans-12.0-bin-linux-x64.sh

5. After running the installer script above, the installer “Welcome page” will show up as follows, click Next to continue (or customize your installation by clicking on Customize) to follow the installation wizard.

Apache NetBeans IDE Installer

Apache NetBeans IDE Installer

6. Then read and accept the terms in the license agreement, and click on Next to continue.

License NetBeans IDE

License NetBeans IDE

7. Next, select the NetBeans IDE 12.0 installation folder from the following interface, then click Next to continue.

NetBeans IDE Installation Folder

NetBeans IDE Installation Folder

8. Next, enable auto-updates for installed plugins via the checkbox in the following screen which shows the installation summary, and click Install to install the NetBeans IDE and runtimes.

Enable NetBeans IDE Updates

Enable NetBeans IDE Updates

9. When the installation is complete, click on Finish and restart the machine to enjoy NetBeans IDE.

NetBeans IDE Installation Completes

NetBeans IDE Installation Completes

NetBeans IDE in Ubuntu

NetBeans IDE in Ubuntu

And voila! The dashboard will come into view and you can start creating a project and building your applications.

How to Install NetBeans Using Snap On Ubuntu, Mint & Debian

Installing NetBeans using a snap package manager is the most recommended way because you get to install the latest version of software packages.

To get started, update your system’s package list by running the following command:

$ sudo apt update

To install Netbeans using the snap package manager, execute the command below. This downloads the NetBeans snap on your system.

$ sudo snap install netbeans --classic

Upon successful installation, you will get a confirmation that Apache NetBeans has been successfully installed.

Once installed, use the application manager to search for Netbeans as shown below. Click on the icon to launch it.

NetBeans IDE in Ubuntu

NetBeans IDE in Ubuntu

How to Install NetBeans Using APT On Ubuntu, Mint & Debian

An alternative option to using snap is using the good old APT package manager which is native across all Debian-based distributions. However, this does not install the latest version of NetBeans. As discussed earlier, Netbeans installer and snap is the recommended option if you desire to install the latest version.

Nevertheless, run the following command to install Netbeans:

$ sudo apt install netbeans

This downloads a whole bunch of packages including JDK, Java interpreter and compiler, and many other associated dependencies. When the installation is complete, again, locate NetBeans using the application manager and launch it.

NetBeans IDE in Ubuntu

NetBeans IDE in Ubuntu

Congratulations! You’ve successfully installed the latest version of NetBeans IDE 12 in your Debian/Ubuntu and Mint Linux based systems. If you have queries use the comment form below to ask any questions or share your thoughts with us.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide
The Complete Linux System Administrator Bundle
Become an Ethical Hacker Bonus Bundle

You may also like...

21 Responses

  1. Protogene says:

    Thank you so much for helping us it is really helpful.

  2. Tommy says:

    Worked as described, thanks!

  3. Emaiev says:

    Thank you! I also installed it on my Linux , without any errors.

  4. Eduardo says:

    It didn’t work for me, simply doesn’t appeared any netbeans in my linux!

  5. alvares negredo says:

    thanks a lot

  6. krist says:

    Thank you very much.. :-) I just installed it on my Linux without any errors.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.