How To Install libopenjfx-jni on Debian 10

Learn how to install libopenjfx-jni on Debian 10 with this tutorial. libopenjfx-jni is JavaFX/OpenJFX - Rich client application platform for Java (native libraries)

Introduction

In this tutorial we learn how to install libopenjfx-jni on Debian 10.

What is libopenjfx-jni

libopenjfx-jni is:

JavaFX/OpenJFX is a set of graphics and media APIs that enables Java developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.

This package contains the native libraries for libopenjfx-java.

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

Install libopenjfx-jni Using apt-get

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

sudo apt-get update

After updating apt database, We can install libopenjfx-jni using apt-get by running the following command:

sudo apt-get -y install libopenjfx-jni

Install libopenjfx-jni Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libopenjfx-jni using apt by running the following command:

sudo apt -y install libopenjfx-jni

Install libopenjfx-jni 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 libopenjfx-jni using aptitude by running the following command:

sudo aptitude -y install libopenjfx-jni

How To Uninstall libopenjfx-jni on Debian 10

To uninstall only the libopenjfx-jni package we can use the following command:

sudo apt-get remove libopenjfx-jni

Uninstall libopenjfx-jni And Its Dependencies

To uninstall libopenjfx-jni and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libopenjfx-jni

Remove libopenjfx-jni Configurations and Data

To remove libopenjfx-jni configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libopenjfx-jni

Remove libopenjfx-jni configuration, data, and all of its dependencies

We can use the following command to remove libopenjfx-jni configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libopenjfx-jni

Dependencies

libopenjfx-jni have the following dependencies:

References

Summary

In this tutorial we learn how to install libopenjfx-jni package on Debian 10 using different package management tools: apt, apt-get and aptitude.