How To Install ldaptor-doc on Debian 9

In this tutorial we learn how to install ldaptor-doc on Debian 9. ldaptor-doc is documentation for Ldaptor

Introduction

In this tutorial we learn how to install ldaptor-doc on Debian 9.

What is ldaptor-doc

ldaptor-doc is:

A collection of documentation about Ldaptor and LDAP, including:

  • An introduction to LDAP
  • The Ldaptor library API
  • Slides for a talk “Creating a simple LDAP application”

There are three methods to install ldaptor-doc 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 ldaptor-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ldaptor-doc

Install ldaptor-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ldaptor-doc

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

sudo aptitude -y install ldaptor-doc

How To Uninstall ldaptor-doc on Debian 9

To uninstall only the ldaptor-doc package we can use the following command:

sudo apt-get remove ldaptor-doc

Uninstall ldaptor-doc And Its Dependencies

To uninstall ldaptor-doc and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove ldaptor-doc

Remove ldaptor-doc Configurations and Data

To remove ldaptor-doc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge ldaptor-doc

Remove ldaptor-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ldaptor-doc

Dependencies

ldaptor-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install ldaptor-doc package on Debian 9 using different package management tools: apt, apt-get and aptitude.