Jumat, 13 Maret 2020

How to Install Netbeans on Ubuntu and Other Linux

In this tutorial, you’ll learn various ways to install Netbeans IDE on Ubuntu and other Linux distributions.

NetBeans is an open source integrated development environment that comes with good cross-platform support. This tool has been recognized by the Java and C/C++ development community widely.

The development environment is quite flexible. You can configure this tool to support a wide array of development objectives. Practically, you can develop Web, Desktop and Mobile Applications without leaving this platform. It’s amazing, isn’t it? Besides this, the user can add a wide array of known languages such as PHP, C, C++, HTML, Ajax, JavaScript, JSP, Ruby on Rails and the list goes on and on!

If you are looking to install Netbeans on Linux, you have several ways to do that. I have written this tutorial primarily for Ubuntu but some installation methods are applicable to other distributions as well.

Installing Netbeans IDE on Ubuntu using Apt package manager

If you search for Netbeans in Ubuntu Software Center, you’ll find two Netbeans available. The Apache Netbeans is the snap version which is bigger in download size but gives you the latest Netbeans.

You can install it in one click. No need to open terminal. Easiest way.

Apache Netbeans Ubuntu Software Center
Apache Netbeans in Ubuntu Software Center

You may also opt for using the apt command but with apt version, you won’t get the latest Netbeans. For example, at the time of writing this tutorial, Ubuntu 18.04 has Netbeans version 10 available via Apt while Snap has the latest Netbeans 11.

If you are a fan of apt or apt-get, you can enable the universe repository and install Netbeans using this command in the terminal:

sudo apt install netbeans

Installing Netbeans IDE on any Linux distribution using Snap

Install Netbeans Linux

Snap is a universal package manager and if you have enabled Snap on your distribution, you can install it using the following command:

sudo snap install netbeans --classic

The process might take some time to complete because the total download size is around 1 GB. Once done, you will see the app in the application launcher.

Not only you’ll get the latest Netbeans with Snap, the installed version will be automatically updated to the newer version.

Installing Netbeans using Flatpak

Flatpak is another universal packaging like Snap. Some distributions support Flatpak by default while you can enable Flatpak support on others.

Once you have the Flatpak support on your distribution, you can use the following command to install Netbeans:

flatpak install flathub org.apache.netbeans

Alernatively, you can always download the source code of this open source software and compile it yourself.

Hopefully, you selected one of the above methods to install Netbeans on your Ubuntu Linux system. But which one did you use? Did you face any issues? Do let us know.

Srimanta

Srimanta Koley

Srimanta is a passionate writer, a distrohopper & open source enthusiast. He is extremely fond of everything related to technology. He loves to read books and has an unhealthy addiction to the 90s!



from It's FOSS https://ift.tt/39LrSR6
via IFTTT

Tidak ada komentar:

Posting Komentar