How To Install krb5-workstation on Rocky Linux 8

In this tutorial we learn how to install krb5-workstation on Rocky Linux 8. krb5-workstation is Kerberos 5 programs for use on workstations

Introduction

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

What is krb5-workstation

Kerberos is a network authentication system. The krb5-workstation package contains the basic Kerberos programs (kinit, klist, kdestroy, kpasswd). If your network uses Kerberos, this package should be installed on every workstation.

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

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

sudo dnf -y install krb5-workstation

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

sudo yum -y install krb5-workstation

How To Uninstall krb5-workstation on Rocky Linux 8

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

sudo dnf remove krb5-workstation

krb5-workstation Package Contents on Rocky Linux 8

/etc/pam.d/ksu
/usr/bin/k5srvutil
/usr/bin/kadmin
/usr/bin/kdestroy
/usr/bin/kinit
/usr/bin/klist
/usr/bin/kpasswd
/usr/bin/ksu
/usr/bin/kswitch
/usr/bin/ktutil
/usr/bin/kvno
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/878024773788cc01ee8d709ecfa4e58c2f56ed
/usr/lib/.build-id/69
/usr/lib/.build-id/69/71f6ab81bedb75befc16aa211f1b6562f53a5b
/usr/lib/.build-id/71
/usr/lib/.build-id/71/0107d1a8c93c79a48abdf606c3e00a92b20bc9
/usr/lib/.build-id/78
/usr/lib/.build-id/78/986b851ae3b5bfd925ed31919d4ef25cf95379
/usr/lib/.build-id/83
/usr/lib/.build-id/83/649b0a46ae9f9b6a12749ea48c3c47290e64a3
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/7ab04510d4d36892bbda81c42d5e1ff0205809
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/53ebdc835150e864d447c49a17a222647813f6
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/70b1b1b3da8a1f89db15be3e1ae0f03a73de30
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/4442277e940adac5fe02565aacb93da9598424
/usr/share/doc/krb5-workstation
/usr/share/doc/krb5-workstation/_static
/usr/share/doc/krb5-workstation/_static/agogo.css
/usr/share/doc/krb5-workstation/_static/ajax-loader.gif
/usr/share/doc/krb5-workstation/_static/basic.css
/usr/share/doc/krb5-workstation/_static/bgfooter.png
/usr/share/doc/krb5-workstation/_static/bgtop.png
/usr/share/doc/krb5-workstation/_static/comment-bright.png
/usr/share/doc/krb5-workstation/_static/comment-close.png
/usr/share/doc/krb5-workstation/_static/comment.png
/usr/share/doc/krb5-workstation/_static/doctools.js
/usr/share/doc/krb5-workstation/_static/documentation_options.js
/usr/share/doc/krb5-workstation/_static/down-pressed.png
/usr/share/doc/krb5-workstation/_static/down.png
/usr/share/doc/krb5-workstation/_static/file.png
/usr/share/doc/krb5-workstation/_static/jquery-3.2.1.js
/usr/share/doc/krb5-workstation/_static/jquery.js
/usr/share/doc/krb5-workstation/_static/kerb.css
/usr/share/doc/krb5-workstation/_static/minus.png
/usr/share/doc/krb5-workstation/_static/plus.png
/usr/share/doc/krb5-workstation/_static/pygments.css
/usr/share/doc/krb5-workstation/_static/searchtools.js
/usr/share/doc/krb5-workstation/_static/underscore-1.3.1.js
/usr/share/doc/krb5-workstation/_static/underscore.js
/usr/share/doc/krb5-workstation/_static/up-pressed.png
/usr/share/doc/krb5-workstation/_static/up.png
/usr/share/doc/krb5-workstation/_static/websupport.js
/usr/share/doc/krb5-workstation/about.html
/usr/share/doc/krb5-workstation/admin
/usr/share/doc/krb5-workstation/admin/admin_commands
/usr/share/doc/krb5-workstation/admin/admin_commands/index.html
/usr/share/doc/krb5-workstation/admin/admin_commands/k5srvutil.html
/usr/share/doc/krb5-workstation/admin/admin_commands/kadmin_local.html
/usr/share/doc/krb5-workstation/admin/admin_commands/kadmind.html
/usr/share/doc/krb5-workstation/admin/admin_commands/kdb5_ldap_util.html
/usr/share/doc/krb5-workstation/admin/admin_commands/kdb5_util.html
/usr/share/doc/krb5-workstation/admin/admin_commands/kprop.html
/usr/share/doc/krb5-workstation/admin/admin_commands/kpropd.html
/usr/share/doc/krb5-workstation/admin/admin_commands/kproplog.html
/usr/share/doc/krb5-workstation/admin/admin_commands/krb5kdc.html
/usr/share/doc/krb5-workstation/admin/admin_commands/ktutil.html
/usr/share/doc/krb5-workstation/admin/admin_commands/sserver.html
/usr/share/doc/krb5-workstation/admin/advanced
/usr/share/doc/krb5-workstation/admin/advanced/index.html
/usr/share/doc/krb5-workstation/admin/advanced/retiring-des.html
/usr/share/doc/krb5-workstation/admin/appl_servers.html
/usr/share/doc/krb5-workstation/admin/auth_indicator.html
/usr/share/doc/krb5-workstation/admin/backup_host.html
/usr/share/doc/krb5-workstation/admin/conf_files
/usr/share/doc/krb5-workstation/admin/conf_files/index.html
/usr/share/doc/krb5-workstation/admin/conf_files/kadm5_acl.html
/usr/share/doc/krb5-workstation/admin/conf_files/kdc_conf.html
/usr/share/doc/krb5-workstation/admin/conf_files/krb5_conf.html
/usr/share/doc/krb5-workstation/admin/conf_ldap.html
/usr/share/doc/krb5-workstation/admin/database.html
/usr/share/doc/krb5-workstation/admin/dbtypes.html
/usr/share/doc/krb5-workstation/admin/dictionary.html
/usr/share/doc/krb5-workstation/admin/enctypes.html
/usr/share/doc/krb5-workstation/admin/env_variables.html
/usr/share/doc/krb5-workstation/admin/host_config.html
/usr/share/doc/krb5-workstation/admin/https.html
/usr/share/doc/krb5-workstation/admin/index.html
/usr/share/doc/krb5-workstation/admin/install.html
/usr/share/doc/krb5-workstation/admin/install_appl_srv.html
/usr/share/doc/krb5-workstation/admin/install_clients.html
/usr/share/doc/krb5-workstation/admin/install_kdc.html
/usr/share/doc/krb5-workstation/admin/lockout.html
/usr/share/doc/krb5-workstation/admin/otp.html
/usr/share/doc/krb5-workstation/admin/pkinit.html
/usr/share/doc/krb5-workstation/admin/princ_dns.html
/usr/share/doc/krb5-workstation/admin/realm_config.html
/usr/share/doc/krb5-workstation/admin/spake.html
/usr/share/doc/krb5-workstation/admin/troubleshoot.html
/usr/share/doc/krb5-workstation/admin/various_envs.html
/usr/share/doc/krb5-workstation/appdev
/usr/share/doc/krb5-workstation/appdev/gssapi.html
/usr/share/doc/krb5-workstation/appdev/h5l_mit_apidiff.html
/usr/share/doc/krb5-workstation/appdev/index.html
/usr/share/doc/krb5-workstation/appdev/init_creds.html
/usr/share/doc/krb5-workstation/appdev/princ_handle.html
/usr/share/doc/krb5-workstation/appdev/refs
/usr/share/doc/krb5-workstation/appdev/refs/api
/usr/share/doc/krb5-workstation/appdev/refs/api/index.html
/usr/share/doc/krb5-workstation/appdev/refs/index.html
/usr/share/doc/krb5-workstation/appdev/refs/macros
/usr/share/doc/krb5-workstation/appdev/refs/macros/index.html
/usr/share/doc/krb5-workstation/appdev/refs/types
/usr/share/doc/krb5-workstation/appdev/refs/types/index.html
/usr/share/doc/krb5-workstation/appdev/refs/types/krb5_int32.html
/usr/share/doc/krb5-workstation/appdev/refs/types/krb5_ui_4.html
/usr/share/doc/krb5-workstation/appdev/y2038.html
/usr/share/doc/krb5-workstation/basic
/usr/share/doc/krb5-workstation/basic.pdf
/usr/share/doc/krb5-workstation/basic/ccache_def.html
/usr/share/doc/krb5-workstation/basic/date_format.html
/usr/share/doc/krb5-workstation/basic/index.html
/usr/share/doc/krb5-workstation/basic/keytab_def.html
/usr/share/doc/krb5-workstation/basic/rcache_def.html
/usr/share/doc/krb5-workstation/basic/stash_file_def.html
/usr/share/doc/krb5-workstation/build
/usr/share/doc/krb5-workstation/build/directory_org.html
/usr/share/doc/krb5-workstation/build/doing_build.html
/usr/share/doc/krb5-workstation/build/index.html
/usr/share/doc/krb5-workstation/build/options2configure.html
/usr/share/doc/krb5-workstation/build/osconf.html
/usr/share/doc/krb5-workstation/build_this.html
/usr/share/doc/krb5-workstation/convert-config-files
/usr/share/doc/krb5-workstation/copyright.html
/usr/share/doc/krb5-workstation/formats
/usr/share/doc/krb5-workstation/formats/ccache_file_format.html
/usr/share/doc/krb5-workstation/formats/cookie.html
/usr/share/doc/krb5-workstation/formats/freshness_token.html
/usr/share/doc/krb5-workstation/formats/index.html
/usr/share/doc/krb5-workstation/formats/keytab_file_format.html
/usr/share/doc/krb5-workstation/formats/rcache_file_format.html
/usr/share/doc/krb5-workstation/genindex-K.html
/usr/share/doc/krb5-workstation/genindex-R.html
/usr/share/doc/krb5-workstation/genindex-all.html
/usr/share/doc/krb5-workstation/genindex.html
/usr/share/doc/krb5-workstation/index.html
/usr/share/doc/krb5-workstation/krb5.conf
/usr/share/doc/krb5-workstation/mitK5defaults.html
/usr/share/doc/krb5-workstation/mitK5features.html
/usr/share/doc/krb5-workstation/mitK5license.html
/usr/share/doc/krb5-workstation/objects.inv
/usr/share/doc/krb5-workstation/plugindev
/usr/share/doc/krb5-workstation/plugindev/ccselect.html
/usr/share/doc/krb5-workstation/plugindev/certauth.html
/usr/share/doc/krb5-workstation/plugindev/clpreauth.html
/usr/share/doc/krb5-workstation/plugindev/general.html
/usr/share/doc/krb5-workstation/plugindev/gssapi.html
/usr/share/doc/krb5-workstation/plugindev/hostrealm.html
/usr/share/doc/krb5-workstation/plugindev/index.html
/usr/share/doc/krb5-workstation/plugindev/internal.html
/usr/share/doc/krb5-workstation/plugindev/kadm5_auth.html
/usr/share/doc/krb5-workstation/plugindev/kadm5_hook.html
/usr/share/doc/krb5-workstation/plugindev/kdcpolicy.html
/usr/share/doc/krb5-workstation/plugindev/kdcpreauth.html
/usr/share/doc/krb5-workstation/plugindev/localauth.html
/usr/share/doc/krb5-workstation/plugindev/locate.html
/usr/share/doc/krb5-workstation/plugindev/profile.html
/usr/share/doc/krb5-workstation/plugindev/pwqual.html
/usr/share/doc/krb5-workstation/resources.html
/usr/share/doc/krb5-workstation/search.html
/usr/share/doc/krb5-workstation/searchindex.js
/usr/share/doc/krb5-workstation/services.append
/usr/share/doc/krb5-workstation/user
/usr/share/doc/krb5-workstation/user.pdf
/usr/share/doc/krb5-workstation/user/index.html
/usr/share/doc/krb5-workstation/user/pwd_mgmt.html
/usr/share/doc/krb5-workstation/user/tkt_mgmt.html
/usr/share/doc/krb5-workstation/user/user_commands
/usr/share/doc/krb5-workstation/user/user_commands/index.html
/usr/share/doc/krb5-workstation/user/user_commands/kdestroy.html
/usr/share/doc/krb5-workstation/user/user_commands/kinit.html
/usr/share/doc/krb5-workstation/user/user_commands/klist.html
/usr/share/doc/krb5-workstation/user/user_commands/kpasswd.html
/usr/share/doc/krb5-workstation/user/user_commands/krb5-config.html
/usr/share/doc/krb5-workstation/user/user_commands/ksu.html
/usr/share/doc/krb5-workstation/user/user_commands/kswitch.html
/usr/share/doc/krb5-workstation/user/user_commands/kvno.html
/usr/share/doc/krb5-workstation/user/user_commands/sclient.html
/usr/share/doc/krb5-workstation/user/user_config
/usr/share/doc/krb5-workstation/user/user_config/index.html
/usr/share/doc/krb5-workstation/user/user_config/k5identity.html
/usr/share/doc/krb5-workstation/user/user_config/k5login.html
/usr/share/doc/krb5-workstation/user/user_config/kerberos.html
/usr/share/man/man1/k5srvutil.1.gz
/usr/share/man/man1/kadmin.1.gz
/usr/share/man/man1/kdestroy.1.gz
/usr/share/man/man1/kinit.1.gz
/usr/share/man/man1/klist.1.gz
/usr/share/man/man1/kpasswd.1.gz
/usr/share/man/man1/ksu.1.gz
/usr/share/man/man1/kswitch.1.gz
/usr/share/man/man1/ktutil.1.gz
/usr/share/man/man1/kvno.1.gz

References

Summary

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