How To Install krb5-devel on Rocky Linux 8

In this tutorial we learn how to install krb5-devel on Rocky Linux 8. krb5-devel is Development files needed to compile Kerberos 5 programs

Introduction

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

What is krb5-devel

Kerberos is a network authentication system. The krb5-devel package contains the header files and libraries needed for compiling Kerberos 5 programs. If you want to develop Kerberos-aware programs, you need to install this package.

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

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

sudo dnf -y install krb5-devel

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

sudo yum -y install krb5-devel

How To Uninstall krb5-devel on Rocky Linux 8

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

sudo dnf remove krb5-devel

krb5-devel Package Contents on Rocky Linux 8

/usr/bin/gss-client
/usr/bin/krb5-config
/usr/bin/sim_client
/usr/bin/uuclient
/usr/include/gssapi
/usr/include/gssapi.h
/usr/include/gssapi/gssapi.h
/usr/include/gssapi/gssapi_alloc.h
/usr/include/gssapi/gssapi_ext.h
/usr/include/gssapi/gssapi_generic.h
/usr/include/gssapi/gssapi_krb5.h
/usr/include/gssapi/mechglue.h
/usr/include/gssrpc
/usr/include/gssrpc/auth.h
/usr/include/gssrpc/auth_gss.h
/usr/include/gssrpc/auth_gssapi.h
/usr/include/gssrpc/auth_unix.h
/usr/include/gssrpc/clnt.h
/usr/include/gssrpc/netdb.h
/usr/include/gssrpc/pmap_clnt.h
/usr/include/gssrpc/pmap_prot.h
/usr/include/gssrpc/pmap_rmt.h
/usr/include/gssrpc/rename.h
/usr/include/gssrpc/rpc.h
/usr/include/gssrpc/rpc_msg.h
/usr/include/gssrpc/svc.h
/usr/include/gssrpc/svc_auth.h
/usr/include/gssrpc/types.h
/usr/include/gssrpc/xdr.h
/usr/include/kadm5
/usr/include/kadm5/admin.h
/usr/include/kadm5/chpass_util_strings.h
/usr/include/kadm5/kadm_err.h
/usr/include/kdb.h
/usr/include/krad.h
/usr/include/krb5
/usr/include/krb5.h
/usr/include/krb5/ccselect_plugin.h
/usr/include/krb5/certauth_plugin.h
/usr/include/krb5/clpreauth_plugin.h
/usr/include/krb5/hostrealm_plugin.h
/usr/include/krb5/kadm5_auth_plugin.h
/usr/include/krb5/kadm5_hook_plugin.h
/usr/include/krb5/kdcpolicy_plugin.h
/usr/include/krb5/kdcpreauth_plugin.h
/usr/include/krb5/krb5.h
/usr/include/krb5/localauth_plugin.h
/usr/include/krb5/locate_plugin.h
/usr/include/krb5/plugin.h
/usr/include/krb5/preauth_plugin.h
/usr/include/krb5/pwqual_plugin.h
/usr/include/profile.h
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/b6e5c7effc6161eee5fc0cd5b2e3a9baa23458
/usr/lib/.build-id/18
/usr/lib/.build-id/18/10a6becd7ca8290c48d259318edc7f90262516
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/08aa2466d85a79d065310035d85d374e073b5f
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/b4a448aef76e08f9284bb00ac4155ec4bee3c2
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/ff4b0ac5531bee7dbd8e888e702d114122e784
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/effd49f2e681d7f4dde5b01e97ba7d2c031044
/usr/lib64/libgssapi_krb5.so
/usr/lib64/libgssrpc.so
/usr/lib64/libk5crypto.so
/usr/lib64/libkdb5.so
/usr/lib64/libkrad.so
/usr/lib64/libkrb5.so
/usr/lib64/libkrb5support.so
/usr/lib64/pkgconfig/gssrpc.pc
/usr/lib64/pkgconfig/kadm-client.pc
/usr/lib64/pkgconfig/kadm-server.pc
/usr/lib64/pkgconfig/kdb.pc
/usr/lib64/pkgconfig/krb5-gssapi.pc
/usr/lib64/pkgconfig/krb5.pc
/usr/lib64/pkgconfig/mit-krb5-gssapi.pc
/usr/lib64/pkgconfig/mit-krb5.pc
/usr/sbin/gss-server
/usr/sbin/sim_server
/usr/sbin/uuserver
/usr/share/doc/krb5-devel
/usr/share/doc/krb5-devel/appdev.pdf
/usr/share/doc/krb5-devel/plugindev.pdf
/usr/share/man/man1/krb5-config.1.gz
/usr/bin/gss-client
/usr/bin/krb5-config
/usr/bin/sim_client
/usr/bin/uuclient
/usr/include/gssapi
/usr/include/gssapi.h
/usr/include/gssapi/gssapi.h
/usr/include/gssapi/gssapi_alloc.h
/usr/include/gssapi/gssapi_ext.h
/usr/include/gssapi/gssapi_generic.h
/usr/include/gssapi/gssapi_krb5.h
/usr/include/gssapi/mechglue.h
/usr/include/gssrpc
/usr/include/gssrpc/auth.h
/usr/include/gssrpc/auth_gss.h
/usr/include/gssrpc/auth_gssapi.h
/usr/include/gssrpc/auth_unix.h
/usr/include/gssrpc/clnt.h
/usr/include/gssrpc/netdb.h
/usr/include/gssrpc/pmap_clnt.h
/usr/include/gssrpc/pmap_prot.h
/usr/include/gssrpc/pmap_rmt.h
/usr/include/gssrpc/rename.h
/usr/include/gssrpc/rpc.h
/usr/include/gssrpc/rpc_msg.h
/usr/include/gssrpc/svc.h
/usr/include/gssrpc/svc_auth.h
/usr/include/gssrpc/types.h
/usr/include/gssrpc/xdr.h
/usr/include/kadm5
/usr/include/kadm5/admin.h
/usr/include/kadm5/chpass_util_strings.h
/usr/include/kadm5/kadm_err.h
/usr/include/kdb.h
/usr/include/krad.h
/usr/include/krb5
/usr/include/krb5.h
/usr/include/krb5/ccselect_plugin.h
/usr/include/krb5/certauth_plugin.h
/usr/include/krb5/clpreauth_plugin.h
/usr/include/krb5/hostrealm_plugin.h
/usr/include/krb5/kadm5_auth_plugin.h
/usr/include/krb5/kadm5_hook_plugin.h
/usr/include/krb5/kdcpolicy_plugin.h
/usr/include/krb5/kdcpreauth_plugin.h
/usr/include/krb5/krb5.h
/usr/include/krb5/localauth_plugin.h
/usr/include/krb5/locate_plugin.h
/usr/include/krb5/plugin.h
/usr/include/krb5/preauth_plugin.h
/usr/include/krb5/pwqual_plugin.h
/usr/include/profile.h
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/3018f25c2ddb5ff127ac1897eb00105e22ef46
/usr/lib/.build-id/25
/usr/lib/.build-id/25/69520188e654d4777a423d483dc657d04b5c75
/usr/lib/.build-id/59
/usr/lib/.build-id/59/bc9595686ce7975fd7d12741f9838400541c73
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/aa3b97db237fb83590fead03993a37fa039d53
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/15f80ef08d4895a2e3914be88026efa67e99a7
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/212f7387925845d720073ec91802476fef9852
/usr/lib/libgssapi_krb5.so
/usr/lib/libgssrpc.so
/usr/lib/libk5crypto.so
/usr/lib/libkdb5.so
/usr/lib/libkrad.so
/usr/lib/libkrb5.so
/usr/lib/libkrb5support.so
/usr/lib/pkgconfig/gssrpc.pc
/usr/lib/pkgconfig/kadm-client.pc
/usr/lib/pkgconfig/kadm-server.pc
/usr/lib/pkgconfig/kdb.pc
/usr/lib/pkgconfig/krb5-gssapi.pc
/usr/lib/pkgconfig/krb5.pc
/usr/lib/pkgconfig/mit-krb5-gssapi.pc
/usr/lib/pkgconfig/mit-krb5.pc
/usr/sbin/gss-server
/usr/sbin/sim_server
/usr/sbin/uuserver
/usr/share/doc/krb5-devel
/usr/share/doc/krb5-devel/appdev.pdf
/usr/share/doc/krb5-devel/plugindev.pdf
/usr/share/man/man1/krb5-config.1.gz

References

Summary

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