How To Install libldap-2.4-2 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libldap-2.4-2
on Ubuntu 20.04.
What is libldap-2.4-2
libldap-2.4-2 is:
These are 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-2.4-2 Architecture: amd64 Version: 2.4.49+dfsg-2ubuntu1.7 Multi-Arch: same 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: 523 Depends: libc6 (>= 2.28), libgnutls30 (>= 3.6.12), libgssapi3-heimdal (>= 1.4.0+git20110226), libsasl2-2 (>= 2.1.27+dfsg), libldap-common Conflicts: ldap-utils (<= 2.1.23-1) Replaces: libldap-2.3-0, libldap2 Filename: pool/main/o/openldap/libldap-2.4-2_2.4.49+dfsg-2ubuntu1.7_amd64.deb Size: 155332 MD5sum: 0085bba9c623b039a7f0edb3a66db375 SHA1: 49deb7aa81fa3a47650b662c52dd436e9033c885 SHA256: c940d4841cb2d32352d845790db49a4b97a27023faff1d80baf86fec1c689ea1 SHA512: 987a67ec9ef251ab1815cdad03025a1aa89d03c84ce1443d75899d8429300afdf20ec50a732980afc390f2cf111bfee19336779f4e972248ab9db21d3d8ee091 Homepage: http://www.openldap.org/ Description-en: OpenLDAP libraries These are 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-2.4-2 Architecture: amd64 Version: 2.4.49+dfsg-2ubuntu1 Multi-Arch: same 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: 522 Depends: libc6 (>= 2.28), libgnutls30 (>= 3.6.10), libgssapi3-heimdal (>= 1.4.0+git20110226), libsasl2-2 (>= 2.1.27+dfsg), libldap-common Conflicts: ldap-utils (<= 2.1.23-1) Replaces: libldap-2.3-0, libldap2 Filename: pool/main/o/openldap/libldap-2.4-2_2.4.49+dfsg-2ubuntu1_amd64.deb Size: 155528 MD5sum: c91039b83810cbd4737445d6ae08ee92 SHA1: 4fb106b80d28fed981d5a3c6667b9e00ced47962 SHA256: d93a63d1927f12f67065f5b038fbe656d9920d4bdf9788643e43800c136a7ae4 Homepage: http://www.openldap.org/ Description-en: OpenLDAP libraries These are 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-2.4-2
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-2.4-2 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-2.4-2
using apt-get
by running the following command:
sudo apt-get -y install libldap-2.4-2
Install libldap-2.4-2 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libldap-2.4-2
using apt
by running the following command:
sudo apt -y install libldap-2.4-2
Install libldap-2.4-2 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-2.4-2
using aptitude
by running the following command:
sudo aptitude -y install libldap-2.4-2
How To Uninstall libldap-2.4-2 on Ubuntu 20.04
To uninstall only the libldap-2.4-2
package we can use the following command:
sudo apt-get remove libldap-2.4-2
Uninstall libldap-2.4-2 And Its Dependencies
To uninstall libldap-2.4-2
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libldap-2.4-2
Remove libldap-2.4-2 Configurations and Data
To remove libldap-2.4-2
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libldap-2.4-2
Remove libldap-2.4-2 configuration, data, and all of its dependencies
We can use the following command to remove libldap-2.4-2
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libldap-2.4-2
References
Summary
In this tutorial we learn how to install libldap-2.4-2
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.