How To Install libnb-platform18-java on Debian 9

In this tutorial we learn how to install libnb-platform18-java on Debian 9. libnb-platform18-java is NetBeans Platform for building rich desktop applications in Java

Introduction

In this tutorial we learn how to install libnb-platform18-java on Debian 9.

What is libnb-platform18-java

libnb-platform18-java is:

The NetBeans Platform is a framework for building rich desktop applications in Java. It provides the code that is required to connect actions to menu items, toolbar items, keyboard shortcuts and more. It is the core of the NetBeans IDE.

This package provides the platform itself.

There are three methods to install libnb-platform18-java on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libnb-platform18-java Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libnb-platform18-java using apt-get by running the following command:

sudo apt-get -y install libnb-platform18-java

Install libnb-platform18-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnb-platform18-java using apt by running the following command:

sudo apt -y install libnb-platform18-java

Install libnb-platform18-java Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libnb-platform18-java using aptitude by running the following command:

sudo aptitude -y install libnb-platform18-java

How To Uninstall libnb-platform18-java on Debian 9

To uninstall only the libnb-platform18-java package we can use the following command:

sudo apt-get remove libnb-platform18-java

Uninstall libnb-platform18-java And Its Dependencies

To uninstall libnb-platform18-java and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libnb-platform18-java

Remove libnb-platform18-java Configurations and Data

To remove libnb-platform18-java configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libnb-platform18-java

Remove libnb-platform18-java configuration, data, and all of its dependencies

We can use the following command to remove libnb-platform18-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnb-platform18-java

Dependencies

libnb-platform18-java have the following dependencies:

References

Summary

In this tutorial we learn how to install libnb-platform18-java package on Debian 9 using different package management tools: apt, apt-get and aptitude.