This post shows students and new users the steps to install Apache Netbeans on Ubuntu Linux via Snap Package Management. Apache Netbeans is a full-featured cross-platform IDE that enables anyone to create and manage applications in Java, PHP, and other languages.

For developers looking for a great platform to manage their codes, Netbeans could be a great pleasure to start with. Netbeans is an open source Java-based IDE that enables anyone to develop desktop, mobile, web applications in Java, PHP, C / C ++, XML, HTML, JavaScript, and many other platforms.

Apache NetBeans is much more than a text editor. It also provides a great set of tools for PHP and C / C ++ developers.

Also, for students and new users learning Linux, the easiest place to start learning is Ubuntu Linux. Ubuntu is the modern open source Linux operating system for desktops, servers, and other devices.

To start installing Apache Netbeans on Ubuntu, follow the steps below:

How to install OpenJDK on Ubuntu Linux

Before you can install Netbeans, you must have Java JDK or OpenJDK installed. Requires Java JDK 8 or later. For this tutorial, we will install and use OpenJDK 8.

To install Java JDK 8 on Ubuntu quite simple and straightforward. To install, start by updating the package and installing OpenJDK 8.

sudo apt update
sudo apt install openjdk-8-jdk

Verify the installation by typing the following command which will print the version of Java installed on your system.

java -version

The output should look like this:

openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

How to install Netbeans on Ubuntu

Now that OpenJDK 8 is installed, continue below to download and install Netbeans on Ubuntu.

YOU CAN ALSO READ:   How to install VirtualBox on Ubuntu Linux

At the time of writing, the latest stable version of Netbeans is version 12.5. The easiest way to install Netbeans on Ubuntu is by using the Quick packaging system.

Snaps They are containerized software packages that are easy to create and install. Snap apps are packed with all their dependencies to run on all popular Linux distributions from a single build, allowing them to automatically update and gracefully roll back.

To install NetBeans via snap, run the following commands:

sudo apt install snap 
sudo snap install netbeans --classic

When you run the above commands, after a successful installation, you should receive a message similar to the following.

netbeans 12.5 from Apache NetBeansâś“ installed

After the installation is complete, you can start typing netbeans in your terminal or by clicking on the Netbeans icon on the Activities -> Netbeans.

install netbeans ubuntu

You can start building your applications using Netbeans

ubuntu install latest netbeans

Conclusion:

In this tutorial we have seen how to install Netbeans on Ubuntu Linux. If you find any errors above or have something to add, use the comment form below.

Write A Comment