NetBeans IDE is a free and open source integrated development environment for application development on Windows, Mac, Linux, and Solaris operating systems. The IDE simplifies the development of web, enterprise, desktop, and mobile applications that use the Java and HTML5 platforms.
In this tutorial, i am going to show you how to install Netbeans on Ubuntu 20.04 using terminal or command prompt.
How to Install Netbeans In Ubuntu using Terminal or Command Prompt
Just use the below given steps to install Netbeans in ubuntu using terminal or command prompt:
- Step 1 – Open Terminal OR Command Prompt
- Step 2 – Update APT Package
- Step 3 – Installing Java OpenJDK
- Step 4 – Installing Netbeans
Step 1 – Open Terminal OR Command Prompt
First of all, open terminal or command prompt by pressing Ctrl+Alt+T key.
Step 2 – Update APT Package
Now, execute the following command on terminal to update Apt package list:
sudo apt-get update
Step 3 – Installing Java OpenJDK
Then execute the following command on 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
Finally, execute the following command on 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 20.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 20.04.