How To Install slapd-contrib on Ubuntu 20.04

In this tutorial we learn how to install slapd-contrib on Ubuntu 20.04. slapd-contrib is contributed plugins for OpenLDAP slapd contributed plugins for OpenLDAP slapd contributed plugins for OpenLDAP slapd

Introduction

In this tutorial we learn how to install slapd-contrib on Ubuntu 20.04.

What is slapd-contrib

slapd-contrib is:

This package contains a number of slapd overlays and plugins contributed by the OpenLDAP community. While distributed as part of OpenLDAP Software, they are not necessarily supported by the OpenLDAP Project.

Package: slapd-contrib Architecture: amd64 Version: 2.4.49+dfsg-2ubuntu1.7 Priority: optional Section: universe/net Source: openldap Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenLDAP Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 190 Provides: slapd-smbk5pwd Depends: slapd (= 2.4.49+dfsg-2ubuntu1.7), libc6 (>= 2.8), libkadm5srv8-heimdal (>= 1.4.0+git20110226), libldap-2.4-2 (>= 2.4.7), libnettle7 Breaks: slapd-smbk5pwd (« 2.4.47+dfsg-2~) Replaces: slapd-smbk5pwd (« 2.4.47+dfsg-2~) Filename: pool/universe/o/openldap/slapd-contrib_2.4.49+dfsg-2ubuntu1.7_amd64.deb Size: 24676 MD5sum: 56ac0f0797b9a371fd1b8b6c9d2ccdd1 SHA1: ed38e8739ba9ea83fb054450e0a83c5265e27eea SHA256: 1287695e68305d6e224cb0606e2db52ed31afbbd6e5272fd90572fb072bbb265 SHA512: 32e9008d856c03766752131616122293d1ed473392b808db191f31de93e2ff76450ba78181ffd9a5b3b39ae3ea0476ba4680be7adc4e9a38abcda0aaa742a9b9 Homepage: http://www.openldap.org/ Description-en: contributed plugins for OpenLDAP slapd This package contains a number of slapd overlays and plugins contributed by the OpenLDAP community. While distributed as part of OpenLDAP Software, they are not necessarily supported by the OpenLDAP Project.

Package: slapd-contrib Architecture: amd64 Version: 2.4.49+dfsg-2ubuntu1 Priority: optional Section: universe/net Source: openldap Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenLDAP Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 189 Provides: slapd-smbk5pwd Depends: slapd (= 2.4.49+dfsg-2ubuntu1), libc6 (>= 2.8), libkadm5srv8-heimdal (>= 1.4.0+git20110226), libldap-2.4-2 (>= 2.4.7), libnettle7 Breaks: slapd-smbk5pwd (« 2.4.47+dfsg-2~) Replaces: slapd-smbk5pwd (« 2.4.47+dfsg-2~) Filename: pool/universe/o/openldap/slapd-contrib_2.4.49+dfsg-2ubuntu1_amd64.deb Size: 24668 MD5sum: 1979ae07192cb1dc15200880a3142a99 SHA1: d1edfa10ed428431f7f61467f5eb08110e6e36be SHA256: 4580faae3c6f63b7b87e6f11e1e505ebbfbd4d93a5498cd2a4b8290572449bf0 Homepage: http://www.openldap.org/ Description-en: contributed plugins for OpenLDAP slapd This package contains a number of slapd overlays and plugins contributed by the OpenLDAP community. While distributed as part of OpenLDAP Software, they are not necessarily supported by the OpenLDAP Project.

There are three methods to install slapd-contrib on Ubuntu 20.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 slapd-contrib Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install slapd-contrib

Install slapd-contrib Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install slapd-contrib

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

sudo aptitude -y install slapd-contrib

How To Uninstall slapd-contrib on Ubuntu 20.04

To uninstall only the slapd-contrib package we can use the following command:

sudo apt-get remove slapd-contrib

Uninstall slapd-contrib And Its Dependencies

To uninstall slapd-contrib and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove slapd-contrib

Remove slapd-contrib Configurations and Data

To remove slapd-contrib configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge slapd-contrib

Remove slapd-contrib configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge slapd-contrib

References

Summary

In this tutorial we learn how to install slapd-contrib package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.