Installing Netbeans in ubuntu system using command prompt or terminal. In this tutorial, you will learn how to install Netbeans on Ubuntu 18.04 using terminal or command prompt. The same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Kubuntu, Linux Mint, and Elementary OS.
This tutorial will guide you step by step on how to install Netbeans on Ubuntu 18.04.
How to Install Netbeans In Ubuntu using Terminal or Command Prompt
Follow the following steps and install Netbeans in ubuntu using terminal or command prompt
Step 1 – Open Terminal OR Command Prompt
First of all, your terminal or command prompt by pressing Ctrl+Alt+T key:
Step 2 – Update APT Package
In this step, visit your terminal and execute the following command to update Apt package list:
sudo apt-get update
Step 3 – Installing Java OpenJDK
In this step, execute the following command on your terminal to install java openJK:
sudo apt install openjdk-8-jdk
Verify the installation by typing the following command on your terminal, which will print the Java version:
Step 4 – Installing Netbeans
In this step, execute the following command on your terminal to install Netbeans:
sudo snap install netbeans --classic
Once the installation is complete, you will see the following output:
netbeans 11.0 from 'apache-netbeans' installed
Note that, The easiest way is to install Netbeans on Ubuntu 18.04 is by using the snappy packaging system.
Install Netbeans in ubuntu system. In this tutorial, you have learned how to install Netbeans on Ubuntu 18.04.
That’s it. Netbeans has been download on your Ubuntu system.