How To Install simpleid-ldap on Ubuntu 18.04
Introduction
In this tutorial we learn how to install simpleid-ldap
on Ubuntu 18.04.
What is simpleid-ldap
simpleid-ldap is:
SimpleID is a simple, personal OpenID provider written in PHP. OpenID is a way to provide for a single digital identity across the Internet. To get an OpenID you need to sign up to an OpenID provider, who acts as the “custodian” of your digital identity. Every time you want to log into an OpenID-enabled web site, you will be redirected to your OpenID provider, who will then verify your identity and provide this to the web site.
This plugin provides support for authenticating user passwords using an LDAP server rather than the default flat files supported by SimpleID.
There are three methods to install simpleid-ldap
on Ubuntu 18.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 simpleid-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 simpleid-ldap
using apt-get
by running the following command:
sudo apt-get -y install simpleid-ldap
Install simpleid-ldap Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install simpleid-ldap
using apt
by running the following command:
sudo apt -y install simpleid-ldap
Install simpleid-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 simpleid-ldap
using aptitude
by running the following command:
sudo aptitude -y install simpleid-ldap
How To Uninstall simpleid-ldap on Ubuntu 18.04
To uninstall only the simpleid-ldap
package we can use the following command:
sudo apt-get remove simpleid-ldap
Uninstall simpleid-ldap And Its Dependencies
To uninstall simpleid-ldap
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove simpleid-ldap
Remove simpleid-ldap Configurations and Data
To remove simpleid-ldap
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge simpleid-ldap
Remove simpleid-ldap configuration, data, and all of its dependencies
We can use the following command to remove simpleid-ldap
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge simpleid-ldap
References
Summary
In this tutorial we learn how to install simpleid-ldap
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.