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

The 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.

This article guides you on how to install the latest version of NetBeans IDE 8.2 in Debian, Ubuntu and Linux Mint distributions.


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

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

Install Java JDK 8 in Debian, Ubuntu and Linux Mint

1. To install Java 8 JDK version, first add following webupd8team/java PPA to your system and update the repository package database as shown.

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update

2. Once PPA has been added and updated, now search for the packages with name oracle-java8 and install it as shown.

$ apt-cache search oracle-java8
$ sudo apt-get install oracle-java8-installer

If you have more than one Java installed on your system, you can install oracle-java8-set-default package to set Java 8 as default as shown.

$ sudo apt-get install oracle-java8-set-default

Please note that the same webupd8team/java PPA also offers older and newer versions of Java packages like Java 7 and Java 9.

Install NetBeans IDE in Debian, Ubuntu and Linux Mint

3. Now oen a browser, navigate to NetBeans IDE download page and download the latest NetBeans IDE installer script 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

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 
$ ./

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.

Netbeans Installer

Netbeans 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 8.2 installation folder from the following interface, then click Next to continue.

NetBeans IDE Installation Folder

NetBeans IDE Installation Folder

8. Also select the GlassFish server installation folder from the following interface, then click Next to proceed.

GlassFish Installation Folder

GlassFish Installation Folder

9. Next enable auto updates updates for installed plugins via the check box 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

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

NetBeans IDE Installation Completes

NetBeans IDE Installation Completes

NetBeans IDE in Ubuntu

NetBeans IDE in Ubuntu

Congratulations! You’ve successfully installed the latest version of NetBeans IDE 8.2 in your Debian/Ubuntu Linux based system. 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. R. maul says:

    Straight forward and to the point. Easy install.

  2. cesarer says:

    Thanks a lot, working perfectly on Linux Mint 19

  3. Maikel says:

    Why the restart of machine after you finish the installation ?
    It is unnecessary except of that it is a good tutorial.

  4. nitesh says:

    please guide how can i install netbeans with jdk please guide me step by step

  5. Sohail says:

    Great step by step explanation, I found it very useful.

    Thank you

  6. Ermi says:

    Hi there I have installed Netbeans in my Ubuntu. That is great. I have one question. Con anyone tell if we can use Netbeans for perl once we have install it? Desperately need that.


    excellent tutorial found very easy way to install the netbeans

  8. The information and the detail were just perfect. I think that your perspective is deep

  9. idan says:

    how can i add php ?

  10. gurjar says:

    good work

    i have installed netbeans in fedora 17

    take a look

    • Ravi Saive says:


      That’s good you have installed it without any errors and good video tutorial. Can you help us in creating video tutorials for us. which tool you using for creating such video howtos.

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.