How To Install libclassworlds-java on Debian 9
Introduction
In this tutorial we learn how to install libclassworlds-java
on Debian 9.
What is libclassworlds-java
libclassworlds-java is:
Classworlds is a framework for container developers who require complex manipulation of Java’s ClassLoaders. Java’s native ClassLoader mechanims and classes can cause many headaches and confusion for certain types of application developers. Projects which involve dynamic loading of components or otherwise represent a ‘container’ that can benefit from the classloading control provided by classworlds.
Classworlds provides a richer set of semantics for class loading than Java’s normal mechanisms, while still being able to provide a ClassLoader interface to integrate seamlessly with the Java environment.
There are three methods to install libclassworlds-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 libclassworlds-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 libclassworlds-java
using apt-get
by running the following command:
sudo apt-get -y install libclassworlds-java
Install libclassworlds-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libclassworlds-java
using apt
by running the following command:
sudo apt -y install libclassworlds-java
Install libclassworlds-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 libclassworlds-java
using aptitude
by running the following command:
sudo aptitude -y install libclassworlds-java
How To Uninstall libclassworlds-java on Debian 9
To uninstall only the libclassworlds-java
package we can use the following command:
sudo apt-get remove libclassworlds-java
Uninstall libclassworlds-java And Its Dependencies
To uninstall libclassworlds-java
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libclassworlds-java
Remove libclassworlds-java Configurations and Data
To remove libclassworlds-java
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libclassworlds-java
Remove libclassworlds-java configuration, data, and all of its dependencies
We can use the following command to remove libclassworlds-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libclassworlds-java
Dependencies
libclassworlds-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libclassworlds-java
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.