How To Install sssd-krb5 on Ubuntu 20.04

In this tutorial we learn how to install sssd-krb5 on Ubuntu 20.04. sssd-krb5 is System Security Services Daemon – Kerberos back end System Security Services Daemon – Kerberos back end System Security Services Daemon – Kerberos back end

Introduction

In this tutorial we learn how to install sssd-krb5 on Ubuntu 20.04.

What is sssd-krb5

sssd-krb5 is:

Provides the Kerberos back end that the SSSD can utilize authenticate against a Kerberos server.

Package: sssd-krb5 Architecture: amd64 Version: 2.2.3-3ubuntu0.1 Priority: extra Section: utils Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 54 Depends: sssd-common (= 2.2.3-3ubuntu0.1), sssd-krb5-common (= 2.2.3-3ubuntu0.1), libc6 (>= 2.4), libtalloc2 (>= 2.0.4~git20101213) Breaks: sssd (« 1.10.0~beta2-1) Replaces: sssd (« 1.10.0~beta2-1) Filename: pool/main/s/sssd/sssd-krb5_2.2.3-3ubuntu0.1_amd64.deb Size: 13612 MD5sum: 213f3b6abf3dd18add8414d020314701 SHA1: 17009ac601c420c7e8c293b8e705a402e29fd170 SHA256: bee3383f3f6590d7eeeaf216927d56eb5969cb9f662981b4f6971e591d4029e1 SHA512: 93fe4849493c553c45f547942355ab361e7ac2ff9e27c3e3d5328e9aff3b846cec7fa10477df8e272de76c526dc269f4d143763265a39d766be774fbdbc63bf1 Homepage: https://github.com/SSSD/sssd Description-en: System Security Services Daemon – Kerberos back end Provides the Kerberos back end that the SSSD can utilize authenticate against a Kerberos server.

Package: sssd-krb5 Architecture: amd64 Version: 2.2.3-3 Priority: extra Section: utils Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 54 Depends: sssd-common (= 2.2.3-3), sssd-krb5-common (= 2.2.3-3), libc6 (>= 2.4), libtalloc2 (>= 2.0.4~git20101213) Breaks: sssd (« 1.10.0~beta2-1) Replaces: sssd (« 1.10.0~beta2-1) Filename: pool/main/s/sssd/sssd-krb5_2.2.3-3_amd64.deb Size: 13596 MD5sum: 83f4455d5e64079fe3e296854350e58e SHA1: f5dbcb62b04b72eb4ac07f2663814ca4b91e8b43 SHA256: 6a44656454b64730dbd2b605d42b41579ba6938f2e84844b1cc2c9f5aaa45a6d Homepage: https://github.com/SSSD/sssd Description-en: System Security Services Daemon – Kerberos back end Provides the Kerberos back end that the SSSD can utilize authenticate against a Kerberos server.

There are three methods to install sssd-krb5 on Ubuntu 20.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-krb5 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-krb5 using apt-get by running the following command:

sudo apt-get -y install sssd-krb5

Install sssd-krb5 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sssd-krb5

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

sudo aptitude -y install sssd-krb5

How To Uninstall sssd-krb5 on Ubuntu 20.04

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

sudo apt-get remove sssd-krb5

Uninstall sssd-krb5 And Its Dependencies

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

sudo apt-get -y autoremove sssd-krb5

Remove sssd-krb5 Configurations and Data

To remove sssd-krb5 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge sssd-krb5

Remove sssd-krb5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sssd-krb5

References

Summary

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