How To Install ldap-auth-client on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ldap-auth-client
on Ubuntu 20.04.
What is ldap-auth-client
ldap-auth-client is:
This is the LDAP authentication meta package. It depends on other packages necessary for a Linux system to authenticate to a LDAP server.
There are three methods to install ldap-auth-client
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 ldap-auth-client Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ldap-auth-client
using apt-get
by running the following command:
sudo apt-get -y install ldap-auth-client
Install ldap-auth-client Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ldap-auth-client
using apt
by running the following command:
sudo apt -y install ldap-auth-client
Install ldap-auth-client 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 ldap-auth-client
using aptitude
by running the following command:
sudo aptitude -y install ldap-auth-client
How To Uninstall ldap-auth-client on Ubuntu 20.04
To uninstall only the ldap-auth-client
package we can use the following command:
sudo apt-get remove ldap-auth-client
Uninstall ldap-auth-client And Its Dependencies
To uninstall ldap-auth-client
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ldap-auth-client
Remove ldap-auth-client Configurations and Data
To remove ldap-auth-client
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ldap-auth-client
Remove ldap-auth-client configuration, data, and all of its dependencies
We can use the following command to remove ldap-auth-client
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ldap-auth-client
References
Summary
In this tutorial we learn how to install ldap-auth-client
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.