How To Install libapacheds-java on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 399 words
Introduction
In this tutorial we learn how to install libapacheds-java
on Ubuntu.
What is libapacheds-java
libapacheds-java is:
ApacheDS is an embbedable directory server entirely written in Java, which has been certified LDAPv3 compatible by the Open Group. Besides LDAP it supports Kerberos 5 and the Change Password Protocol. It has been designed to introduce triggers, stored procedures, queues and views to the world of LDAP which has lacked these rich constructs.
This package contains the core libraries for ApacheDS.
There are three methods to install libapacheds-java
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libapacheds-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 libapacheds-java
using apt-get
by running the following command:
sudo apt-get -y install libapacheds-java
Install libapacheds-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libapacheds-java
using apt
by running the following command:
sudo apt -y install libapacheds-java
Install libapacheds-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libapacheds-java
using aptitude
by running the following command:
sudo aptitude -y install libapacheds-java
How To Uninstall libapacheds-java on Ubuntu
To uninstall only the libapacheds-java
package we can use the following command:
sudo apt-get remove libapacheds-java
Uninstall libapacheds-java And Its Dependencies
To uninstall libapacheds-java
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove libapacheds-java
Remove libapacheds-java Configurations and Data
To remove libapacheds-java
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge libapacheds-java
Remove libapacheds-java configuration, data, and all of its dependencies
We can use the following command to remove libapacheds-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libapacheds-java
Dependencies
libapacheds-java have the following dependencies:
- libantlr-java
- libapacheds-i18n-java
- libapacheds-kerberos-codec-java
- libcommons-io-java
- liblog4j1.2-java
- libapache-directory-api-java
- libapache-directory-jdbm-java
- libbcprov-java
- libcommons-collections3-java
- libehcache-java
- libjetty9-java
- libmavibot-java
- libmina2-java
- libslf4j-java
References
Summary
In this tutorial we learn how to install libapacheds-java
package on Ubuntu using different package management tools: apt, apt-get and aptitude.