NetBeans IDE also known as Apache NetBeans provides a powerful framework to its developers. It allows users to invent applications with the help of modules. The NetBeans IDE can run on different platforms like Linux, Windows, and macOS.
How to Install NetBeans IDE on Linux Mint 21
There are two easy approaches to installing Apache NetBeans on Linux Mint 21:
i: Install NetBeans IDE Using Terminal
Installation process of NetBeans is quite easy but requires some attention.
Step 1: Update the system repository to upgrade all packages through the command:
Step 2: NetBeans framework demands Java installation as it is a pre-requisite of it. It would be done through the mentioned command:
It is already installed in my system.
Step 3: Check the version to check if the installation has been done successfully with the updated version. (This step is for those who just installed JDK on system):
Step 4: Update the system again after installing JDK on Linux Mint 21 system so that everything can run smoothly:
Step 5: Install NetBeans IDE
We will install NetBeans IDE using snap packages; for this remove the nosnap.pref file from the system to enable snap support:
Install snap package manager snapd on Linux Mint using the command:
Now, run the given command to get NetBeans on Linux Mint 21 system:
You can also get the installation command by visiting official Snap Store by clicking on Install button:
Launch the NetBeans IDE on your system by typing:
And you will get the screen like:
ii: Install NetBeans IDE Using GUI
NetBeans IDE can also be installed on Linux Mint 21 system through the graphical user interface. For this open-up the software manager and search for the NetBeans in the search bar:
Hit on the NetBeans icon and you will get a display of it. There you will see required details about NetBeans framework and an Install button; click on it:
Once you clicked, it will start downloading:
Now you can use NetBeans on Linux Mint 21 system by clicking on the Launch button:
How to Remove NetBeans from Linux Mint 21
If you want to delete NetBeans IDE snap package from the Linux Mint 21 system, type the following command in terminal:
If it is installed through GUI then open the Software Manager, search NetBeans, and click on the Remove button.
Conclusion
NetBeans IDE is used to develop Java applications for mobile, desktop and web. Along with Java, NetBeans also has extensions to compile other languages such as C, C++, PHP, and JavaScript. This article has covered how to install NetBeans IDE on Linux Mint 21 system. We have mentioned two approaches i-e through terminal and through GUI.