How To Install libopenjfx-jni on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libopenjfx-jni
on Ubuntu 20.04.
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.
Package: libopenjfx-jni Architecture: amd64 Version: 11.0.7+0-2ubuntu1 Priority: optional Section: universe/java Source: openjfx Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Java Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1178 Depends: libc6 (>= 2.29), libcairo2 (>= 1.10.0), libfreetype6 (>= 2.2.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libgl1, libglib2.0-0 (>= 2.30.0), libgtk-3-0 (>= 3.0.0), libgtk2.0-0 (>= 2.24.0), libjpeg8 (>= 8c), libpango-1.0-0 (>= 1.22.0), libpangoft2-1.0-0 (>= 1.14.0), libx11-6, libxtst6 Filename: pool/universe/o/openjfx/libopenjfx-jni_11.0.7+0-2ubuntu1_amd64.deb Size: 257344 MD5sum: 41cc5b4f1af372964fd1bb73d2d8c8e1 SHA1: 03db7ad5f68f2870bc6cca6eae799c2800575c88 SHA256: df9d68420c651b9b0914fa16e0e9e9c8c74cfe3a97ec37d43e7b396984c9fa00 Homepage: https://openjfx.io Description-en: JavaFX/OpenJFX - Rich client application platform for Java (native libraries) 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 Ubuntu 20.04. 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 Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install libopenjfx-jni
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.