How To Install 389-ds-base-legacy-tools on Debian 10
Introduction
In this tutorial we learn how to install 389-ds-base-legacy-tools
on Debian 10.
What is 389-ds-base-legacy-tools
389-ds-base-legacy-tools is:
Legacy (and deprecated) utilities for 389 Directory Server. This includes the old account management and task scripts. These are deprecated in favour of the dscreate, dsctl, dsconf and dsidm tools.
There are three methods to install 389-ds-base-legacy-tools
on Debian 10. 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-ds-base-legacy-tools 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-ds-base-legacy-tools
using apt-get
by running the following command:
sudo apt-get -y install 389-ds-base-legacy-tools
Install 389-ds-base-legacy-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install 389-ds-base-legacy-tools
using apt
by running the following command:
sudo apt -y install 389-ds-base-legacy-tools
Install 389-ds-base-legacy-tools 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-ds-base-legacy-tools
using aptitude
by running the following command:
sudo aptitude -y install 389-ds-base-legacy-tools
How To Uninstall 389-ds-base-legacy-tools on Debian 10
To uninstall only the 389-ds-base-legacy-tools
package we can use the following command:
sudo apt-get remove 389-ds-base-legacy-tools
Uninstall 389-ds-base-legacy-tools And Its Dependencies
To uninstall 389-ds-base-legacy-tools
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove 389-ds-base-legacy-tools
Remove 389-ds-base-legacy-tools Configurations and Data
To remove 389-ds-base-legacy-tools
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge 389-ds-base-legacy-tools
Remove 389-ds-base-legacy-tools configuration, data, and all of its dependencies
We can use the following command to remove 389-ds-base-legacy-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge 389-ds-base-legacy-tools
Dependencies
389-ds-base-legacy-tools have the following dependencies:
- 389-ds-base
- libmozilla-ldap-perl
- libnetaddr-ip-perl
- libperl4-corelibs-perl
- libsocket-getaddrinfo-perl
- 389-ds-base-libs
- libc6
- libcrack2
- libldap-2.4-2
- libnspr4
References
Summary
In this tutorial we learn how to install 389-ds-base-legacy-tools
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.