How To Install sssd-ad-common on Ubuntu 18.04

In this tutorial we learn how to install sssd-ad-common on Ubuntu 18.04. sssd-ad-common is System Security Services Daemon – PAC responder

Introduction

In this tutorial we learn how to install sssd-ad-common on Ubuntu 18.04.

What is sssd-ad-common

sssd-ad-common is:

Provides the PAC responder that the AD and IPA backends can use for fetching additional attributes from the kerberos ticket.

There are three methods to install sssd-ad-common 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 sssd-ad-common Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install sssd-ad-common using apt-get by running the following command:

sudo apt-get -y install sssd-ad-common

Install sssd-ad-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sssd-ad-common using apt by running the following command:

sudo apt -y install sssd-ad-common

Install sssd-ad-common 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 sssd-ad-common using aptitude by running the following command:

sudo aptitude -y install sssd-ad-common

How To Uninstall sssd-ad-common on Ubuntu 18.04

To uninstall only the sssd-ad-common package we can use the following command:

sudo apt-get remove sssd-ad-common

Uninstall sssd-ad-common And Its Dependencies

To uninstall sssd-ad-common and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove sssd-ad-common

Remove sssd-ad-common Configurations and Data

To remove sssd-ad-common configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sssd-ad-common

Remove sssd-ad-common configuration, data, and all of its dependencies

We can use the following command to remove sssd-ad-common configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sssd-ad-common

References

Summary

In this tutorial we learn how to install sssd-ad-common package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.