This brief tutorial shows students and new users how to quickly install Apache NetBeans on Ubuntu 20.04 | 18.04 via Snap package management.
For Java developers looking for a great development platform to manage your codes, NetBeans might be a great please to start.
The IDE also provides a great set of tools for PHP and C/C++ developers..
For more about NetBeans, please check this link.
To get started install Apache NetBeans on Ubuntu, follow the steps below:
Step 1: Install Java JDK
Before installing NetBeans, you’ll need to install Java. It requires Java 8 or later Java Development Kit installed.
For this post, we’re going to be install OpenJDK 11. You can install other versions as you see fit in your environment.
To install Java 11, run the commands below:
sudo apt update sudo apt install openjdk-11-jdk openjdk-11-source
After installing Java JDK to your system, continue below to get NetBeans installed.
Step 2: Install NetBeans
For this tutorial we’re going to be installing NetBeans via Snap. There are multiple ways to install NetBeans and installing via Snap is the quickest and easiest.
Snaps are containerized software packages that are simple to create and install.
Snap applications are packaged with all their dependencies to run on all popular Linux distributions from a single build which allow them to update automatically and roll back gracefully.
To install NetBeans via snap, run the commands below:
sudo apt install snap sudo snap install netbeans --classic
After installing, launch the application and begin building great applications.
You can start building your apps using NetBeans
This post showed you how to install NetBeans on Ubuntu systems via Snap. NetBeans IDE is a great application that allows to to build great applications.
If you find any error above, please use the form below to report.