How to Install Netbeans on a Linux
Download the Java installer., Install the JDK., Wait for the process to complete., Download NetBeans., Run the NetBeans installer., Start the setup., Agree to the License Agreement., Install JUnit., Choose the installation directory., Choose the...
Step-by-Step Guide
-
Step 1: Download the Java installer.
NetBeans requires the latest version of the Java development kit (JDK) installed on your computer.
You can download the latest JDK from this link: http://www.oracle.com/technetwork/java/javase/downloads/index.html. -
Step 2: Install the JDK.
Open your Linux computer’s command terminal by pressing CTRL + ALT + T keys on your keyboard.
Once the command terminal is up, type in the following command: “rpm
-ivh filename.rpm”.
The “Filename” in the command refers to the name of the JDK installer file you downloaded. , A message on the command terminal will notify you once the JDK has been installed. , Get the latest NetBeans IDE installer from this site: https://netbeans.org/features/index.html.
Click the “Download” button and the browser will start downloading the installer file to your computer. , Open your Linux computer’s command terminal by pressing CTRL + ALT + T keys on your keyboard.
Once the command terminal is up, type in the following command: “chmod +x filename”.
The “filename” in the command refers to the name of the NetBeans installer file you downloaded.
The NetBeans setup window will then appear.
Note:
If the installer doesn't appear, it may work if this is typed instead: /home/"username"/Downloads/"filename" Insert your profile name instead of "username" and the NetBeans file instead of "filename". , Click “Next” on the Welcome page of the NetBeans setup to begin. , The next page will show the licensing agreement for the NetBeans application.
Read the agreement, put a checkmark on the Accept section and click “Next” to proceed. , If you’d like to install the JUnit package with NetBeans, agree with the license agreement and click “Next.” Otherwise, you can simply skip this step and not install the JUnit package. , On the next window you’ll be asked where you want to install the NetBeans application.
If you wish to set your own, click on “Browse” and navigate to the directory of your choice.
If you’d like to use the default location (recommended), then just click on “Next” to continue. , Next, you’ll be asked which JDK you want to install with NetBeans.
If you’d like to install a specific JDK package, click the drop-down list and choose which one from the list you’d like to get.
Otherwise, if you want to go with the recommended JDK package to install, just hit “Next” again to go to the next step. , If this step appears on your setup process, you can choose either to install it on a specific location on your computer by clicking “Browse” or accepting the default installation directory by clicking “Next”. , If this step appears on your setup process, you can choose either to install it on a specific location on your computer by clicking “Browse” or accepting the default installation directory by clicking “Next”. , On the Summary page of the setup you’ll be able to check that all needed components to be installed are selected and if your computer has enough memory to accommodate the application.
Click the “Install” button to begin once you’re done checking the summary page. , Once the installation process is complete, click the “Finish” button and you’re done installing NetBeans on Linux. -
Step 3: Wait for the process to complete.
-
Step 4: Download NetBeans.
-
Step 5: Run the NetBeans installer.
-
Step 6: Start the setup.
-
Step 7: Agree to the License Agreement.
-
Step 8: Install JUnit.
-
Step 9: Choose the installation directory.
-
Step 10: Choose the default JDK to install.
-
Step 11: Install GlassFish Server Open Source Edition.
-
Step 12: Install Apache Tomcat.
-
Step 13: View the summary.
-
Step 14: Finalize setup.
Detailed Guide
NetBeans requires the latest version of the Java development kit (JDK) installed on your computer.
You can download the latest JDK from this link: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
Open your Linux computer’s command terminal by pressing CTRL + ALT + T keys on your keyboard.
Once the command terminal is up, type in the following command: “rpm
-ivh filename.rpm”.
The “Filename” in the command refers to the name of the JDK installer file you downloaded. , A message on the command terminal will notify you once the JDK has been installed. , Get the latest NetBeans IDE installer from this site: https://netbeans.org/features/index.html.
Click the “Download” button and the browser will start downloading the installer file to your computer. , Open your Linux computer’s command terminal by pressing CTRL + ALT + T keys on your keyboard.
Once the command terminal is up, type in the following command: “chmod +x filename”.
The “filename” in the command refers to the name of the NetBeans installer file you downloaded.
The NetBeans setup window will then appear.
Note:
If the installer doesn't appear, it may work if this is typed instead: /home/"username"/Downloads/"filename" Insert your profile name instead of "username" and the NetBeans file instead of "filename". , Click “Next” on the Welcome page of the NetBeans setup to begin. , The next page will show the licensing agreement for the NetBeans application.
Read the agreement, put a checkmark on the Accept section and click “Next” to proceed. , If you’d like to install the JUnit package with NetBeans, agree with the license agreement and click “Next.” Otherwise, you can simply skip this step and not install the JUnit package. , On the next window you’ll be asked where you want to install the NetBeans application.
If you wish to set your own, click on “Browse” and navigate to the directory of your choice.
If you’d like to use the default location (recommended), then just click on “Next” to continue. , Next, you’ll be asked which JDK you want to install with NetBeans.
If you’d like to install a specific JDK package, click the drop-down list and choose which one from the list you’d like to get.
Otherwise, if you want to go with the recommended JDK package to install, just hit “Next” again to go to the next step. , If this step appears on your setup process, you can choose either to install it on a specific location on your computer by clicking “Browse” or accepting the default installation directory by clicking “Next”. , If this step appears on your setup process, you can choose either to install it on a specific location on your computer by clicking “Browse” or accepting the default installation directory by clicking “Next”. , On the Summary page of the setup you’ll be able to check that all needed components to be installed are selected and if your computer has enough memory to accommodate the application.
Click the “Install” button to begin once you’re done checking the summary page. , Once the installation process is complete, click the “Finish” button and you’re done installing NetBeans on Linux.
About the Author
Doris Patel
Brings years of experience writing about cooking and related subjects.
Rate This Guide
How helpful was this guide? Click to rate: