{"id":11408,"date":"2022-02-01T23:16:44","date_gmt":"2022-02-01T20:16:44","guid":{"rendered":"https:\/\/kifarunix.com\/?p=11408"},"modified":"2024-03-09T10:20:15","modified_gmt":"2024-03-09T07:20:15","slug":"install-netbeans-ide-on-rocky-linux-8","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-netbeans-ide-on-rocky-linux-8\/","title":{"rendered":"Install NetBeans IDE on Rocky Linux 8"},"content":{"rendered":"\n
In this tutorial, we will cover how to install NetBeans IDE on Rocky Linux 8.\u00a0NetBeans IDE<\/a>\u00a0is a free and open source\u00a0extensible Java IDE (Integrated Development Environment) that enable software developers to quickly and easily develop Java desktop, Java EE, and web applications, as well as HTML5 applications with HTML, JavaScript, and CSS. The IDE also provides a great set of tools for PHP, Ruby and C\/C++ developers.<\/a><\/p>\n\n\n\n Apache NetBeans 12.6 (current stable release as of this writing<\/a>) require JDK 11+. In this guide, we use Java 11;<\/p>\n\n\n\n To verify the version of the installed Java development kit, run the command below;<\/p>\n\n\n\n There are different methods in which you can install NetBeans IDE on Rocky Linux. These include;<\/p>\n\n\n\n NetBeans provides a script that makes it installation easier. Navigate to Apache NetBeans downloads page<\/a> and grab the installer script for Linux. You can simply run the command below to download it (for version 12.6).<\/p>\n\n\n\n Once downloaded, run the installer as non root user you logged in to your system as, as follows;<\/p>\n\n\n\n The script will launch the NetBeans installer.<\/p>\n\n\n\n Netbeans should be installed on your Rocky Linux 8 system.<\/p>\n\n\n\n If you need to get the latest version of NetBeans installed and running on Rocky Linux 8, you can install it from snaps using the snap package manager.<\/p>\n\n\n\n Install Snap on Rocky Linux 8;<\/p>\n\n\n\n Next, start and enable snapd systemd unit socket to run on system boot<\/p>\n\n\n\n Enable Classic snap support;<\/p>\n\n\n\n Once Snap is installed, log out of your system.<\/strong><\/p>\n\n\n\n Next, log back in and install Apache NetBeans IDE on Rocky Linux using snap;<\/p>\n\n\n\n In all the methods, once the installation is done, NetBeans should now be available among your system applications.<\/p>\n\n\n\n You can thus just click it to launch it and start using it.<\/a><\/p>\n\n\n\nInstall NetBeans IDE on Rocky Linux 8<\/h2>\n\n\n\n
Install JDK on Rocky Linux 8<\/h3>\n\n\n\n
sudo dnf update<\/code><\/pre>\n\n\n\n
sudo dnf install java-11-openjdk java-11-openjdk-devel -y<\/code><\/pre>\n\n\n\n
java -version<\/code><\/pre>\n\n\n\n
openjdk version \"11.0.14\" 2022-01-18 LTS\nOpenJDK Runtime Environment 18.9 (build 11.0.14+9-LTS)\nOpenJDK 64-Bit Server VM 18.9 (build 11.0.14+9-LTS, mixed mode, sharing)<\/code><\/pre>\n\n\n\n
Installing NetBeans IDE on Rocky Linux<\/h3>\n\n\n\n
\n
Install NetBeans using NetBeans installer script<\/h4>\n\n\n\n
wget https:\/\/dlcdn.apache.org\/netbeans\/netbeans-installers\/12.6\/Apache-NetBeans-12.6-bin-linux-x64.sh<\/code><\/pre>\n\n\n\n
chmod +x Apache-NetBeans-12.6-bin-linux-x64.sh<\/code><\/pre>\n\n\n\n
.\/Apache-NetBeans-12.6-bin-linux-x64.sh<\/code><\/pre>\n\n\n\n
\n
<\/figure><\/div><\/a><\/div>\n\n\n\n
\n
Install NetBeans from Snaps<\/h4>\n\n\n\n
sudo dnf install epel-release -y<\/code><\/pre>\n\n\n\n
sudo dnf install snapd -y<\/code><\/pre>\n\n\n\n
sudo systemctl enable --now snapd.socket<\/code><\/pre>\n\n\n\n
sudo ln -s \/var\/lib\/snapd\/snap \/snap<\/code><\/pre>\n\n\n\n
sudo snap install netbeans --classic<\/code><\/pre>\n\n\n\n
Running NetBeans on Rocky Linux 8<\/h3>\n\n\n\n
<\/figure><\/div><\/a><\/div>\n\n\n\n