Here we will do the installation of NetBeans IDE 12 on Fedora 34/33/32/31/30/29. 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
We will download the latest release of NetBeans 12 IDE installer script with wget. Install if missing.
sudo dnf -y install wget
Download NetBeans 12 Binary:
curl -O https://downloads.apache.org/netbeans/netbeans/12.4/Apache-NetBeans-12.4-bin-linux-x64.sh
Step 3: Run installer script
Make the script executable:
chmod +x Apache-NetBeans-12.4-bin-linux-x64.sh
Run the script to install NetBeans on Linux Mint 20:
Step 4: Follow installer prompts
Click “Next” on the first installation wizard to begin installation.
Agree to License Agreement terms.
Change or agree to default installation directory.
Agree for automatic updates checking.
Be patient as the installation starts, it should take few seconds.
Once completed you’ll get message like in below screenshot.
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.
Step 6: Create NetBeans IDE Desktop Launcher
Create new file on /usr/share/applications/netbeans.desktop.
sudo vi /usr/share/applications/netbeans.desktop
Add below data.
[Desktop Entry] Name=Netbeans Exec=netbeans Icon=/usr/share/applications/netbeans.png Terminal=false Type=Application Categories=Development"
Download netbeans icon:
wget https://netbeans.apache.org/images/nblogo96x96.png sudo mv nblogo96x96.png /usr/share/applications/netbeans.png