How To Install liblwjgl-java-jni on Ubuntu 20.04
Introduction
In this tutorial we learn how to install liblwjgl-java-jni
on Ubuntu 20.04.
What is liblwjgl-java-jni
liblwjgl-java-jni is:
The Lightweight Java Game Library (LWJGL) is a solution aimed directly at professional and amateur Java programmers alike to enable commercial quality games to be written in Java. LWJGL provides developers access to high performance crossplatform libraries such as OpenGL (Open Graphics Library) and OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound. Additionally LWJGL provides access to controllers such as Gamepads, Steering wheel and Joysticks. All in a simple and straight forward API.
This package contains the java jni library.
There are three methods to install liblwjgl-java-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 liblwjgl-java-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 liblwjgl-java-jni
using apt-get
by running the following command:
sudo apt-get -y install liblwjgl-java-jni
Install liblwjgl-java-jni Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liblwjgl-java-jni
using apt
by running the following command:
sudo apt -y install liblwjgl-java-jni
Install liblwjgl-java-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 liblwjgl-java-jni
using aptitude
by running the following command:
sudo aptitude -y install liblwjgl-java-jni
How To Uninstall liblwjgl-java-jni on Ubuntu 20.04
To uninstall only the liblwjgl-java-jni
package we can use the following command:
sudo apt-get remove liblwjgl-java-jni
Uninstall liblwjgl-java-jni And Its Dependencies
To uninstall liblwjgl-java-jni
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove liblwjgl-java-jni
Remove liblwjgl-java-jni Configurations and Data
To remove liblwjgl-java-jni
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge liblwjgl-java-jni
Remove liblwjgl-java-jni configuration, data, and all of its dependencies
We can use the following command to remove liblwjgl-java-jni
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liblwjgl-java-jni
References
Summary
In this tutorial we learn how to install liblwjgl-java-jni
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.