How To Install libkdb5-9 on Ubuntu 20.04

In this tutorial we learn how to install libkdb5-9 on Ubuntu 20.04. libkdb5-9 is MIT Kerberos runtime libraries - Kerberos database MIT Kerberos runtime libraries - Kerberos database

Introduction

In this tutorial we learn how to install libkdb5-9 on Ubuntu 20.04.

What is libkdb5-9

libkdb5-9 is:

Kerberos is a system for authenticating users and services on a network. Kerberos is a trusted third-party service. That means that there is a third party (the Kerberos server) that is trusted by all the entities on the network (users and services, usually called “principals”).

This is the MIT reference implementation of Kerberos V5.

This package contains the internal Kerberos database libraries.

Package: libkdb5-9 Architecture: amd64 Version: 1.17-6ubuntu4 Multi-Arch: same Priority: optional Section: libs Source: krb5 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Sam Hartman [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 186 Depends: libc6 (>= 2.14), libcom-err2 (>= 1.43.9), libgssrpc4 (>= 1.7dfsg~alpha1), libk5crypto3 (>= 1.7+dfsg), libkrb5-3 (>= 1.14+dfsg), libkrb5support0 (>= 1.15~beta1) Suggests: krb5-doc, krb5-user Breaks: krb5-kdc (= 1.13~alpha1+dfsg-1), libkadm5srv-mit8 (« 1.11+dfsg~) Filename: pool/main/k/krb5/libkdb5-9_1.17-6ubuntu4_amd64.deb Size: 37288 MD5sum: 0c86cf2e814a9597378f13a6dd83ef6f SHA1: c3822379dcaa95621103096ae055662e4e44c680 SHA256: 690e419ae352812b9405ffdb8f030e2675944eca8b941bd81b48f7f0b1c7ad4b Homepage: http://web.mit.edu/kerberos/ Description-en: MIT Kerberos runtime libraries - Kerberos database Kerberos is a system for authenticating users and services on a network. Kerberos is a trusted third-party service. That means that there is a third party (the Kerberos server) that is trusted by all the entities on the network (users and services, usually called “principals”).

This is the MIT reference implementation of Kerberos V5.

This package contains the internal Kerberos database libraries.

There are three methods to install libkdb5-9 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 libkdb5-9 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libkdb5-9 using apt-get by running the following command:

sudo apt-get -y install libkdb5-9

Install libkdb5-9 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libkdb5-9

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

sudo aptitude -y install libkdb5-9

How To Uninstall libkdb5-9 on Ubuntu 20.04

To uninstall only the libkdb5-9 package we can use the following command:

sudo apt-get remove libkdb5-9

Uninstall libkdb5-9 And Its Dependencies

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

sudo apt-get -y autoremove libkdb5-9

Remove libkdb5-9 Configurations and Data

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

sudo apt-get -y purge libkdb5-9

Remove libkdb5-9 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libkdb5-9

References

Summary

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