TranslateProject/sources/tech/20200314 How to Install Netbeans on Ubuntu and Other Linux.md
2020-03-17 08:39:48 +08:00

5.0 KiB
Raw Blame History

How to Install Netbeans on Ubuntu and Other Linux

In this tutorial, youll 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. Its amazing, isnt 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, youll 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 in Ubuntu Software Center

You may also opt for using the apt command but with apt version, you wont 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

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 youll 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.

Download Netbeans

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 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!


via: https://itsfoss.com/install-netbeans-ubuntu/

作者:Community 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出