In this article, we will have explained the necessary steps to installing and configure Apache NetBeans on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Install Apache NetBeans on CentOS 8
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
sudo dnf install epel-release sudo dnf update
Step 2. Install Java.
To install Java 11, run the commands below:
sudo dnf install java-11-openjdk java-11-openjdk-devel
Step 3. Download and Install Apache NetBeans on the CentOS system.
- Install NetBeans using Snap:
Now we install Netbeans on CentOS 8 you can run the following command:
sudo dnf install snapd sudo systemctl enable --now snapd.socket sudo ln -s /var/lib/snapd/snap /snap sudo snap install netbeans --classic
- Install NetBeans from the official source:
Go to the NetBeans IDE download page and download the latest NetBeans IDE installer script for your installed Linux distribution:
Next, make the script executable:
chmod +x Apache-NetBeans-12.2-bin-linux-x64.sh
After that, run the script to install NetBeans:
Step 4. Accessing Apache NetBeans.
Now that you have downloaded and installed Apache Netbeans, you can search for the NetBeans application and start it to get started with your Development projects or copy and paste the below-mentioned command in your terminal:
That’s all you need to do to install NetBeans on CentOS 8. I hope you find this quick tip helpful. For further reading on Apache NetBeans, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.