How To Install ldap-account-manager on Debian 12

Learn how to install ldap-account-manager on Debian 12 with this tutorial. ldap-account-manager is webfrontend for managing accounts in an LDAP directory

Introduction

In this tutorial we learn how to install ldap-account-manager on Debian 12.

What is ldap-account-manager

ldap-account-manager is:

LDAP Account Manager (LAM) runs on an existing webserver. It manages user, group and host accounts. Currently LAM supports these account types: Samba 3/4, Unix, Kolab, address book entries, NIS mail aliases and MAC addresses. There is an integrated LDAP browser to allow access to the raw LDAP attributes. You can use templates for account creation and use multiple configuration profiles. Account information can be exported as PDF file. There is also a script included which manages quotas and homedirectories.

There are three methods to install ldap-account-manager on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ldap-account-manager Using apt-get

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

sudo apt-get update

After updating apt database, We can install ldap-account-manager using apt-get by running the following command:

sudo apt-get -y install ldap-account-manager

Install ldap-account-manager Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ldap-account-manager using apt by running the following command:

sudo apt -y install ldap-account-manager

Install ldap-account-manager 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 ldap-account-manager using aptitude by running the following command:

sudo aptitude -y install ldap-account-manager

How To Uninstall ldap-account-manager on Debian 12

To uninstall only the ldap-account-manager package we can use the following command:

sudo apt-get remove ldap-account-manager

Uninstall ldap-account-manager And Its Dependencies

To uninstall ldap-account-manager and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove ldap-account-manager

Remove ldap-account-manager Configurations and Data

To remove ldap-account-manager configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge ldap-account-manager

Remove ldap-account-manager configuration, data, and all of its dependencies

We can use the following command to remove ldap-account-manager configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ldap-account-manager

Dependencies

ldap-account-manager have the following dependencies:

References

Summary

In this tutorial we learn how to install ldap-account-manager package on Debian 12 using different package management tools: apt, apt-get and aptitude.