How To Install aolserver4-nsldap on Ubuntu 18.04

In this tutorial we learn how to install aolserver4-nsldap on Ubuntu 18.04. aolserver4-nsldap is AOLServer 4 module for LDAP

Introduction

In this tutorial we learn how to install aolserver4-nsldap on Ubuntu 18.04.

What is aolserver4-nsldap

aolserver4-nsldap is:

This module provides support to write an LDAP client in AOLServer4 web server.

There are three methods to install aolserver4-nsldap on Ubuntu 18.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 aolserver4-nsldap Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install aolserver4-nsldap

Install aolserver4-nsldap Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install aolserver4-nsldap

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

sudo aptitude -y install aolserver4-nsldap

How To Uninstall aolserver4-nsldap on Ubuntu 18.04

To uninstall only the aolserver4-nsldap package we can use the following command:

sudo apt-get remove aolserver4-nsldap

Uninstall aolserver4-nsldap And Its Dependencies

To uninstall aolserver4-nsldap and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove aolserver4-nsldap

Remove aolserver4-nsldap Configurations and Data

To remove aolserver4-nsldap configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge aolserver4-nsldap

Remove aolserver4-nsldap configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge aolserver4-nsldap

References

Summary

In this tutorial we learn how to install aolserver4-nsldap package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.