You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

Here we will do the installation of NetBeans IDE 12.0 on Fedora 32/31/30/29/28. NetBeans is a very powerful Integrated Development Environment (IDE) tool mostly used for Java and C/C++ Development.

It allows you easily develop Web, Desktop and Mobile Applications from its modular framework. You can add support for other Programming Languages such as PHP, HTML, JavaScript, C, C++, Ajax, JSP, Ruby on Rails e.t.c using extensions.

Step 1: Install NetBeans Dependencies

Netbeans needs Java JDK to run. Let’s begin by installing Java on Fedora system.

sudo dnf install java-11-openjdk  java-11-openjdk-devel

Step 2: Download NetBeans IDE 12 on Fedora

Download NetBeans 12 Binary:

sudo dnf -y install wget unzip

Step 3: Unzip Downloaded file

Unzip the downloaded Netbeans 12.0 file using unzip command like below.


This will create a new netbeans folder.

Step 4: Move the netbeans folder to /opt

Let’s now move the netbeans/ folder to /opt

sudo mv netbeans/ /opt/

The Netbeans executable binary is located under /opt/netbeans/bin/netbeans. We need to add its parent directory to our $PATH so that we can launch the program without specifying the absolute path to the binary file.

Open your ~/.bashrc or ~/.zshrc file.

$ vi ~/.bashrc

Add the following line at the end of the file

export PATH="$PATH:/opt/netbeans/bin/"

Source the file to Start Netbeans without shell restart.

$ source ~/.bashrc

Step 5: Start Netbeans IDE on Fedora

Now that you have downloaded and installed Netbeans IDE, you can launch it from your terminal like below:

$ netbeans

You should get output like this

Your Netbeans is now ready for real work.

You can install available Plugins under My NetBeans > Available Plugins and enjoy your Development.

You have successfully installed NetBeans IDE 12.0 on Fedora 32/31/30/29/28 and you’re set to quickly and easily develop desktop, mobile and web applications with Java, JavaScript, HTML5, PHP, C/C++ and more.

You can support us by downloading this article as PDF from the Link below. Download the guide as PDF