How To Install libldap-common on Ubuntu 20.04

In this tutorial we learn how to install libldap-common on Ubuntu 20.04. libldap-common is OpenLDAP common files for libraries OpenLDAP common files for libraries OpenLDAP common files for libraries

Introduction

In this tutorial we learn how to install libldap-common on Ubuntu 20.04.

What is libldap-common

libldap-common is:

These are common files for the run-time libraries for the OpenLDAP (Lightweight Directory Access Protocol) servers and clients. Task: server, print-server, ubuntu-desktop-minimal, lamp-server, samba-server, ubuntu-desktop, cloud-image, mail-server, postgresql-server, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libldap-common Architecture: all Version: 2.4.49+dfsg-2ubuntu1.7 Multi-Arch: foreign Priority: optional Section: libs 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: 102 Replaces: libldap-2.4-2 (« 2.4.44+dfsg-1) Filename: pool/main/o/openldap/libldap-common_2.4.49+dfsg-2ubuntu1.7_all.deb Size: 17092 MD5sum: 8903a7e84082b91b384dd7db3ac15224 SHA1: 399a49369087328d73ec07181af19c55ef34b048 SHA256: f6a34b1940c781d5f2ff1abb206e24704a6bc06ca48fbfa8a60229a2cdeae9bf SHA512: 638b862027b98d124eb3cf888998117e67dbcaf15596106275eb7734cc3e373ec8cdbc5c77c6ccad70cab0b390db50eb67a064bd1fea8542e7cf4e8b3ccc60e7 Homepage: http://www.openldap.org/ Description-en: OpenLDAP common files for libraries These are common files for the run-time libraries for the OpenLDAP (Lightweight Directory Access Protocol) servers and clients. Task: server, print-server, ubuntu-desktop-minimal, lamp-server, samba-server, ubuntu-desktop, cloud-image, mail-server, postgresql-server, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libldap-common Architecture: all Version: 2.4.49+dfsg-2ubuntu1 Multi-Arch: foreign Priority: optional Section: libs 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: 101 Replaces: libldap-2.4-2 (« 2.4.44+dfsg-1) Filename: pool/main/o/openldap/libldap-common_2.4.49+dfsg-2ubuntu1_all.deb Size: 17288 MD5sum: 95f1929451401f340eba5f5911a887fb SHA1: 1d0585abcbf995a0ce148a0022182c1caa73c5a3 SHA256: 73f8e44594518e2d9c8bde2025b3b9794308c39078ee40feb92fbb2faee78958 Homepage: http://www.openldap.org/ Description-en: OpenLDAP common files for libraries These are common files for the run-time libraries for the OpenLDAP (Lightweight Directory Access Protocol) servers and clients. Task: server, print-server, ubuntu-desktop-minimal, lamp-server, samba-server, ubuntu-desktop, cloud-image, mail-server, postgresql-server, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

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

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

sudo apt-get update

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

sudo apt-get -y install libldap-common

Install libldap-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libldap-common

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

sudo aptitude -y install libldap-common

How To Uninstall libldap-common on Ubuntu 20.04

To uninstall only the libldap-common package we can use the following command:

sudo apt-get remove libldap-common

Uninstall libldap-common And Its Dependencies

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

sudo apt-get -y autoremove libldap-common

Remove libldap-common Configurations and Data

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

sudo apt-get -y purge libldap-common

Remove libldap-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libldap-common

References

Summary

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