How To Install lighttpd-modules-ldap on Ubuntu 20.04
Introduction
In this tutorial we learn how to install lighttpd-modules-ldap
on Ubuntu 20.04.
What is lighttpd-modules-ldap
lighttpd-modules-ldap is:
This package contains the following modules:
- mod_authn_ldap: With this module, it is possible to perform authentication against an LDAP server.
- mod_vhostdb_ldap: Database backend module for using LDAP as a source for virtual host configuration using mod_vhostdb.
Do not depend on this package. Depend on the provided lighttpd-mod-* packages instead.
Package: lighttpd-modules-ldap Architecture: amd64 Version: 1.4.55-1ubuntu1 Priority: optional Section: universe/httpd Source: lighttpd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian lighttpd maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 54 Provides: lighttpd-mod-authn-ldap, lighttpd-mod-vhostdb-ldap Depends: lighttpd (= 1.4.55-1ubuntu1), libc6 (>= 2.4), libldap-2.4-2 (>= 2.4.25) Breaks: lighttpd (« 1.4.52-2+exp1), lighttpd-mod-authn-ldap (« 1.4.52-2+exp1) Replaces: lighttpd (« 1.4.52-2+exp1), lighttpd-mod-authn-ldap (« 1.4.52-2+exp1) Filename: pool/universe/l/lighttpd/lighttpd-modules-ldap_1.4.55-1ubuntu1_amd64.deb Size: 10260 MD5sum: c2329a755b5deb17cdf6824df50cf4a6 SHA1: af0816fd592bf94653db0f49332a4a7aba598c99 SHA256: f70cf448abac38cd77c7ef8dc3cf0ca068dc7770e6178522e1dc638d0a84d1ed Homepage: https://www.lighttpd.net/ Description-en: LDAP-based modules for lighttpd This package contains the following modules:
- mod_authn_ldap: With this module, it is possible to perform authentication against an LDAP server.
- mod_vhostdb_ldap: Database backend module for using LDAP as a source for virtual host configuration using mod_vhostdb.
Do not depend on this package. Depend on the provided lighttpd-mod-* packages instead.
There are three methods to install lighttpd-modules-ldap
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 lighttpd-modules-ldap Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install lighttpd-modules-ldap
using apt-get
by running the following command:
sudo apt-get -y install lighttpd-modules-ldap
Install lighttpd-modules-ldap Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lighttpd-modules-ldap
using apt
by running the following command:
sudo apt -y install lighttpd-modules-ldap
Install lighttpd-modules-ldap 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 lighttpd-modules-ldap
using aptitude
by running the following command:
sudo aptitude -y install lighttpd-modules-ldap
How To Uninstall lighttpd-modules-ldap on Ubuntu 20.04
To uninstall only the lighttpd-modules-ldap
package we can use the following command:
sudo apt-get remove lighttpd-modules-ldap
Uninstall lighttpd-modules-ldap And Its Dependencies
To uninstall lighttpd-modules-ldap
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove lighttpd-modules-ldap
Remove lighttpd-modules-ldap Configurations and Data
To remove lighttpd-modules-ldap
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge lighttpd-modules-ldap
Remove lighttpd-modules-ldap configuration, data, and all of its dependencies
We can use the following command to remove lighttpd-modules-ldap
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lighttpd-modules-ldap
References
Summary
In this tutorial we learn how to install lighttpd-modules-ldap
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.