(Last Updated On: May 23, 2019)

Here we will do the installation of NetBeans IDE 11.0 on Fedora 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-1.8.0-openjdk  java-1.8.0-openjdk-devel

If you want a more recent version of Java, check:

How to Install Java 11 on Fedora 29 / Fedora 28

For Fedora 30 system, run the commands:

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

Step 2: Download NetBeans IDE 11

Download NetBeans 11 Binary:

sudo dnf -y install wget unzip
wget https://www-us.apache.org/dist/incubator/netbeans/incubating-netbeans/incubating-11.0/incubating-netbeans-11.0-bin.zip 

Step 3: Unzip Downloaded file

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

unzip incubating-netbeans-11.0-bin.zip

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

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 11.0 on Fedora 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.