How To Install freeipa-server-trust-ad on Ubuntu 18.04
Introduction
In this tutorial we learn how to install freeipa-server-trust-ad
on Ubuntu 18.04.
What is freeipa-server-trust-ad
freeipa-server-trust-ad is:
FreeIPA is an integrated solution to provide centrally managed Identity (machine, user, virtual machines, groups, authentication credentials), Policy (configuration settings, access control information) and Audit (events, logs, analysis thereof).
Cross-realm trusts with Active Directory in IPA require working Samba 4 installation. This package is provided for convenience to install all required dependencies at once.
There are three methods to install freeipa-server-trust-ad
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 freeipa-server-trust-ad Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install freeipa-server-trust-ad
using apt-get
by running the following command:
sudo apt-get -y install freeipa-server-trust-ad
Install freeipa-server-trust-ad Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install freeipa-server-trust-ad
using apt
by running the following command:
sudo apt -y install freeipa-server-trust-ad
Install freeipa-server-trust-ad 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 freeipa-server-trust-ad
using aptitude
by running the following command:
sudo aptitude -y install freeipa-server-trust-ad
How To Uninstall freeipa-server-trust-ad on Ubuntu 18.04
To uninstall only the freeipa-server-trust-ad
package we can use the following command:
sudo apt-get remove freeipa-server-trust-ad
Uninstall freeipa-server-trust-ad And Its Dependencies
To uninstall freeipa-server-trust-ad
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove freeipa-server-trust-ad
Remove freeipa-server-trust-ad Configurations and Data
To remove freeipa-server-trust-ad
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge freeipa-server-trust-ad
Remove freeipa-server-trust-ad configuration, data, and all of its dependencies
We can use the following command to remove freeipa-server-trust-ad
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge freeipa-server-trust-ad
References
Summary
In this tutorial we learn how to install freeipa-server-trust-ad
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.