How To Install krb5-libs on Rocky Linux 8

In this tutorial we learn how to install krb5-libs on Rocky Linux 8. krb5-libs is The non-admin shared libraries used by Kerberos 5

Introduction

In this tutorial we learn how to install krb5-libs on Rocky Linux 8.

What is krb5-libs

Kerberos is a network authentication system. The krb5-libs package contains the shared libraries needed by Kerberos 5. If you are using Kerberos, you need to install this package.

We can use yum or dnf to install krb5-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install krb5-libs.

Install krb5-libs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install krb5-libs using dnf by running the following command:

sudo dnf -y install krb5-libs

Install krb5-libs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install krb5-libs

How To Uninstall krb5-libs on Rocky Linux 8

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

sudo dnf remove krb5-libs

krb5-libs Package Contents on Rocky Linux 8

/etc/gss
/etc/gss/mech.d
/etc/krb5.conf
/etc/krb5.conf.d
/etc/krb5.conf.d/crypto-policies
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/e77bd5647b68e1914974689d0e53b86d62d6a5
/usr/lib/.build-id/32
/usr/lib/.build-id/32/2800feb7ad2e513fccd3d700e33bc9a4b65743
/usr/lib/.build-id/64
/usr/lib/.build-id/64/c70ad03c466c621a8675c95df59a69d00623bf
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/310d9a8fb769c3439d29649a5f723e5b9c31cf
/usr/lib/.build-id/92
/usr/lib/.build-id/92/805c9006141e64ec8780c1c54cbbe87c019adc
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/8dc0ba60fb287fee0b98e4e16a1e7e3dac9d07
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/53323bae0be19f1c7f26a4cd653383dfbf1ab2
/usr/lib/.build-id/e4/d396d923e4d7fc8bd15af68df2f925be7f5532
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/7aa7adf8b9c7356a698882372bef9beab2cc07
/usr/lib/krb5
/usr/lib/krb5/plugins
/usr/lib/krb5/plugins/authdata
/usr/lib/krb5/plugins/kdb
/usr/lib/krb5/plugins/libkrb5
/usr/lib/krb5/plugins/preauth
/usr/lib/krb5/plugins/preauth/spake.so
/usr/lib/krb5/plugins/tls
/usr/lib/krb5/plugins/tls/k5tls.so
/usr/lib/libgssapi_krb5.so.2
/usr/lib/libgssapi_krb5.so.2.2
/usr/lib/libgssrpc.so.4
/usr/lib/libgssrpc.so.4.2
/usr/lib/libk5crypto.so.3
/usr/lib/libk5crypto.so.3.1
/usr/lib/libkdb5.so.10
/usr/lib/libkdb5.so.10.0
/usr/lib/libkrad.so.0
/usr/lib/libkrad.so.0.0
/usr/lib/libkrb5.so.3
/usr/lib/libkrb5.so.3.3
/usr/lib/libkrb5support.so.0
/usr/lib/libkrb5support.so.0.1
/usr/share/doc/krb5-libs
/usr/share/doc/krb5-libs/NOTICE
/usr/share/doc/krb5-libs/README
/usr/share/licenses/krb5-libs
/usr/share/licenses/krb5-libs/LICENSE
/usr/share/locale/de/LC_MESSAGES/mit-krb5.mo
/usr/share/locale/en_US/LC_MESSAGES/mit-krb5.mo
/usr/share/man/man5/.k5identity.5.gz
/usr/share/man/man5/.k5login.5.gz
/usr/share/man/man5/k5identity.5.gz
/usr/share/man/man5/k5login.5.gz
/usr/share/man/man5/krb5.conf.5.gz
/usr/share/man/man7/kerberos.7.gz
/var/kerberos
/var/kerberos/krb5
/var/kerberos/krb5/user
/etc/gss
/etc/gss/mech.d
/etc/krb5.conf
/etc/krb5.conf.d
/etc/krb5.conf.d/crypto-policies
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/3c22ef0afc48eb79fe7596fa825c37c36d04dd
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/09bf7eda21ceb3de639e252b046689d2c62625
/usr/lib/.build-id/2e/3632e71d9932266df8964c5e58c8d9a8a2f7d2
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/36aa1239d6ceadee41dbb3d490142681c887f4
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/48b61bb6b63bd517ffa38174d1d853bff4bfed
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/72aeb0b0f3dc0363a1428c999c057daf202b48
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/f469b23fa56eecb3ace453ad5d5391967eb27b
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/45e4c685c9440ba90dd5c78a0f843271899657
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/fbb57335f596f4ba42ab306091770530fedeca
/usr/lib64/krb5
/usr/lib64/krb5/plugins
/usr/lib64/krb5/plugins/authdata
/usr/lib64/krb5/plugins/kdb
/usr/lib64/krb5/plugins/libkrb5
/usr/lib64/krb5/plugins/preauth
/usr/lib64/krb5/plugins/preauth/spake.so
/usr/lib64/krb5/plugins/tls
/usr/lib64/krb5/plugins/tls/k5tls.so
/usr/lib64/libgssapi_krb5.so.2
/usr/lib64/libgssapi_krb5.so.2.2
/usr/lib64/libgssrpc.so.4
/usr/lib64/libgssrpc.so.4.2
/usr/lib64/libk5crypto.so.3
/usr/lib64/libk5crypto.so.3.1
/usr/lib64/libkdb5.so.10
/usr/lib64/libkdb5.so.10.0
/usr/lib64/libkrad.so.0
/usr/lib64/libkrad.so.0.0
/usr/lib64/libkrb5.so.3
/usr/lib64/libkrb5.so.3.3
/usr/lib64/libkrb5support.so.0
/usr/lib64/libkrb5support.so.0.1
/usr/share/doc/krb5-libs
/usr/share/doc/krb5-libs/NOTICE
/usr/share/doc/krb5-libs/README
/usr/share/licenses/krb5-libs
/usr/share/licenses/krb5-libs/LICENSE
/usr/share/locale/de/LC_MESSAGES/mit-krb5.mo
/usr/share/locale/en_US/LC_MESSAGES/mit-krb5.mo
/usr/share/man/man5/.k5identity.5.gz
/usr/share/man/man5/.k5login.5.gz
/usr/share/man/man5/k5identity.5.gz
/usr/share/man/man5/k5login.5.gz
/usr/share/man/man5/krb5.conf.5.gz
/usr/share/man/man7/kerberos.7.gz
/var/kerberos
/var/kerberos/krb5
/var/kerberos/krb5/user

References

Summary

In this tutorial we learn how to install krb5-libs on Rocky Linux 8 using yum and dnf.