Ubuntu Linux

How to Install NetBeans on Ubuntu 24.04

Richard
Written by
Richard
Dec 17, 2024 Updated Mar 20, 2026 4 min read
How to Install NetBeans on Ubuntu 24.04

This article explains how to install NetBeans on Ubuntu 24.04.

Apache NetBeans is a powerful IDE that supports multiple programming languages, including Java, PHP, HTML5, and more. It provides features like code completion, syntax highlighting, and debugging tools, making coding more straightforward and efficient.

Since NetBeans is particularly well-suited for Java development, it offers robust support for Java applications, including features like project management, easy navigation through code, and built-in tools for testing and deployment.

By installing NetBeans on Ubuntu, developers can use these features to enhance their programming experience and productivity.

There are multiple ways to install NetBeans on Ubuntu Linux. We will show you some methods to install the app on Ubuntu.

Install NetBeans using DEB

The easiest way to install NetBeans on Ubuntu is to download its DEB package from the download site and install it.

First, visit its download site and copy the link for the appropriate Apache NetBeans 24+JDK 23 Deb package you want to install.

Use the command below to download the file, replacing the version number with the current version.

💻Code
wget https://github.com/codelerity/netbeans-installers/releases/download/v24-build1/apache-netbeans_24-1_amd64.deb

Once downloaded, use the command below to install the package.

🐧Bash / Shell
sudo apt install ./apache-netbeans_24-1_amd64.deb

After the installation, launch the app from the Application menu and search for NetBeans. Select and launch it.

NetBeans dashboard

Start developing your apps.

Install NetBeans using the App Center

One way to install NetBeans on Ubuntu is using the App Center app. Click on the App Center app to open it.

Ubuntu Software Center interface for managing applications on Ubuntu 24.04

When the app opens, use the search box to search for NetBeans to install it.

NetBeans app center

Install the app

NetBeans app center install

Once installed, use the Dock on the left sidebar to search and launch the NetBeans app.

Install NetBeans using Snap

Yet, another way to install NetBeans is to use the Snap package manager.

To do that, install the Snap package manager if it’s not already installed.

🐧Bash / Shell
sudo apt install snapd

Then, run the command below to install NetBeans from the Snap package manager.

🐧Bash / Shell
sudo snap install netbeans --classic

Once installed, use the Dock on the left sidebar to search and launch the NetBeans app.

You can also run the app using the command below.

🐧Bash / Shell
sudo snap run netbeans

Remove the app using the command below.

🐧Bash / Shell
sudo snap remove netbeans

Install NetBeans using Flatpak

Another way to install NetBeans is to use the Flatpak package manager. Flatpak uses a sandboxing package installation, enhancing security and allowing easy updates.

Flatpak is a third-party application distribution system that is not included in Ubuntu by default.

You must install the Flatpak package manager and then install NetBeans from there.

First, update and install Flatpak.

🐧Bash / Shell
sudo apt update && sudo apt upgrade
sudo apt install flatpak

Next, add the Flatpak repository to Ubuntu.

🐧Bash / Shell
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Finally, install Discord.

💻Code
flatpak install flathub org.apache.netbeans

Once installed, you can launch it using the command below or open the app in the desktop apps center.

💻Code
flatpak run org.apache.netbeans

Uninstall the app using the command below.

💻Code
flatpak uninstall flathub org.apache.netbeans

That should do it!

Conclusion:

Installing Apache NetBeans on Ubuntu 24.04 can significantly enhance your development experience. Here are the key takeaways:

  • Multiple Installation Methods: Choose from several methods, including DEB packages, App Center, Snap, and Flatpak, based on your preference.
  • User-Friendly IDE: Apache NetBeans provides robust support for various programming languages, making it an excellent choice for developers.
  • Integrated Tools: The IDE has essential features like code completion, syntax highlighting, and debugging tools to streamline the coding process.
  • Enhanced Productivity: Utilizing the features of NetBeans can lead to more efficient project management and application development.
  • Community Support: Being an open-source platform, NetBeans has a supportive community that can assist with troubleshooting and enhancements.

With these points in mind, you can install Apache NetBeans and take your coding projects to the next level!

Frequently Asked Questions

How do I install NetBeans on Ubuntu 24.04?

You can install NetBeans on Ubuntu 24.04 by downloading the DEB package from the official site and using the command 'sudo apt install ./apache-netbeans_24-1_amd64.deb'. Alternatively, you can install it via the App Center, Snap package manager, or Flatpak.

What are the system requirements for installing NetBeans on Ubuntu?

NetBeans requires a minimum of 2 GB of RAM and 1 GB of disk space. It is recommended to have a modern processor and a supported version of Java Development Kit (JDK) installed for optimal performance.

Can I install NetBeans using Snap on Ubuntu?

Yes, you can install NetBeans using Snap by first ensuring that the Snap package manager is installed. Use the command 'sudo snap install netbeans --classic' to complete the installation.

What is the difference between installing NetBeans via DEB and Flatpak?

Installing NetBeans via DEB installs it directly on your system, while Flatpak uses a sandboxing method that enhances security and simplifies updates. Flatpak may also allow you to run multiple versions of NetBeans simultaneously.

How can I uninstall NetBeans from my Ubuntu system?

To uninstall NetBeans, you can use the command 'sudo apt remove netbeans' if installed via DEB, or 'sudo snap remove netbeans' if installed via Snap. For Flatpak, use 'flatpak uninstall netbeans'.

Was this guide helpful?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2468 articles → Twitter

📚 Related Tutorials

How to Install Oracle Java JDK on Windows 11
Windows How to Install Oracle Java JDK on Windows 11

Leave a Reply

Your email address will not be published. Required fields are marked *