How to Install and Uninstall libldap2-dev Package on Debian 11 (Bullseye)

Last updated: May 11,2024

1. Install "libldap2-dev" package

Please follow the guidance below to install libldap2-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libldap2-dev

2. Uninstall "libldap2-dev" package

Please follow the steps below to uninstall libldap2-dev on Debian 11 (Bullseye):

$ sudo apt remove libldap2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libldap2-dev package on Debian 11 (Bullseye)

Package: libldap2-dev
Source: openldap
Version: 2.4.57+dfsg-3+deb11u1
Installed-Size: 1477
Maintainer: Debian OpenLDAP Maintainers
Architecture: amd64
Replaces: libopenldap-dev
Provides: libldap-dev
Depends: libldap-2.4-2 (= 2.4.57+dfsg-3+deb11u1)
Conflicts: libldap-dev, libopenldap-dev
Description: OpenLDAP development libraries
Description-md5: 2359036e8e1bd2b4b5d49233c1509ecf
Multi-Arch: same
Homepage: https://www.openldap.org/
Tag: devel::lang:c, devel::library, implemented-in::c, protocol::ldap,
role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/o/openldap/libldap2-dev_2.4.57+dfsg-3+deb11u1_amd64.deb
Size: 341240
MD5sum: e5f3f225696d9ea4d7371e28cdb83121
SHA256: 92aed676e28d6f23650961deee781e5b92d64be47bae98d103ad752335bfe126