How To Install slapi-nis on Debian 11
Introduction
In this tutorial we learn how to install slapi-nis
on Debian 11.
What is slapi-nis
slapi-nis is:
This package provides two plugins for Red Hat and 389 Directory Server.
The NIS Server plugin allows the directory server to act as a NIS server for clients, dynamically generating and updating NIS maps according to its configuration and the contents of the DIT, and serving the results to clients using the NIS protocol as if it were an ordinary NIS server.
The Schema Compatibility plugin allows the directory server to provide an alternate view of entries stored in part of the DIT, optionally adding, dropping, or renaming attribute values, and optionally retrieving values for attributes from multiple entries in the tree.
There are three methods to install slapi-nis
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install slapi-nis Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install slapi-nis
using apt-get
by running the following command:
sudo apt-get -y install slapi-nis
Install slapi-nis Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install slapi-nis
using apt
by running the following command:
sudo apt -y install slapi-nis
Install slapi-nis 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 slapi-nis
using aptitude
by running the following command:
sudo aptitude -y install slapi-nis
How To Uninstall slapi-nis on Debian 11
To uninstall only the slapi-nis
package we can use the following command:
sudo apt-get remove slapi-nis
Uninstall slapi-nis And Its Dependencies
To uninstall slapi-nis
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove slapi-nis
Remove slapi-nis Configurations and Data
To remove slapi-nis
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge slapi-nis
Remove slapi-nis configuration, data, and all of its dependencies
We can use the following command to remove slapi-nis
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge slapi-nis
Dependencies
slapi-nis have the following dependencies:
References
Summary
In this tutorial we learn how to install slapi-nis
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.