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.
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 wget https://downloads.apache.org/netbeans/netbeans/12.0/netbeans-12.0-bin.zip
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
Let’s now move the
netbeans/ folder to
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.
$ vi ~/.bashrc
Add the following line at the end of the file
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:
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.