How To Install 389-dsgw on Debian 9
Introduction
In this tutorial we learn how to install 389-dsgw
on Debian 9.
What is 389-dsgw
389-dsgw is:
389 Directory Server Gateway is a collection of 3 web applications that run on top of the Administration Server used by the Directory Server. These 3 applications are:
- phonebook: a simple phonebook application geared towards end users, with simple search screens and simple self-service management
- orgchart: an organization chart viewer
- gateway: a more advanced search interface that allows admins to create and edit user entries, and allows creation of templates for different types of user and group entries
There are three methods to install 389-dsgw
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install 389-dsgw Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install 389-dsgw
using apt-get
by running the following command:
sudo apt-get -y install 389-dsgw
Install 389-dsgw Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install 389-dsgw
using apt
by running the following command:
sudo apt -y install 389-dsgw
Install 389-dsgw 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install 389-dsgw
using aptitude
by running the following command:
sudo aptitude -y install 389-dsgw
How To Uninstall 389-dsgw on Debian 9
To uninstall only the 389-dsgw
package we can use the following command:
sudo apt-get remove 389-dsgw
Uninstall 389-dsgw And Its Dependencies
To uninstall 389-dsgw
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove 389-dsgw
Remove 389-dsgw Configurations and Data
To remove 389-dsgw
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge 389-dsgw
Remove 389-dsgw configuration, data, and all of its dependencies
We can use the following command to remove 389-dsgw
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge 389-dsgw
Dependencies
389-dsgw have the following dependencies:
References
Summary
In this tutorial we learn how to install 389-dsgw
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.