How To Install realmd on CentOS 8

realmd is Kerberos realm enrollment service

Introduction

In this tutorial we learn how to install realmd on CentOS 8.

What is realmd

realmd is a DBus system service which manages discovery and enrollment in realms and domains like Active Directory or IPA. The control center uses realmd as the back end to ‘join’ a domain simply and automatically configure things correctly.

We can use yum or dnf to install realmd on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install realmd.

Install realmd on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install realmd

Install realmd on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install realmd using yum by running the following command:

sudo yum -y install realmd

How To Uninstall realmd on CentOS 8

To uninstall only the realmd package we can use the following command:

sudo dnf remove realmd

realmd Package Contents on CentOS 8

/etc/dbus-1/system.d/org.freedesktop.realmd.conf
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/5adf469117e6bc691ab3f343a6ca8d7f59cbd1
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/34595142fea226930c7d7e81b5c4df8531b6de
/usr/lib/realmd
/usr/lib/realmd/realmd
/usr/lib/realmd/realmd-defaults.conf
/usr/lib/realmd/realmd-distro.conf
/usr/lib/systemd/system/realmd.service
/usr/sbin/realm
/usr/share/dbus-1/system-services/org.freedesktop.realmd.service
/usr/share/doc/realmd
/usr/share/doc/realmd/AUTHORS
/usr/share/doc/realmd/COPYING
/usr/share/doc/realmd/NEWS
/usr/share/doc/realmd/README
/usr/share/locale/ar/LC_MESSAGES/realmd.mo
/usr/share/locale/as/LC_MESSAGES/realmd.mo
/usr/share/locale/az/LC_MESSAGES/realmd.mo
/usr/share/locale/bg/LC_MESSAGES/realmd.mo
/usr/share/locale/bn_IN/LC_MESSAGES/realmd.mo
/usr/share/locale/ca/LC_MESSAGES/realmd.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/realmd.mo
/usr/share/locale/cs/LC_MESSAGES/realmd.mo
/usr/share/locale/cy/LC_MESSAGES/realmd.mo
/usr/share/locale/da/LC_MESSAGES/realmd.mo
/usr/share/locale/de/LC_MESSAGES/realmd.mo
/usr/share/locale/el/LC_MESSAGES/realmd.mo
/usr/share/locale/en_GB/LC_MESSAGES/realmd.mo
/usr/share/locale/eo/LC_MESSAGES/realmd.mo
/usr/share/locale/es/LC_MESSAGES/realmd.mo
/usr/share/locale/es_CL/LC_MESSAGES/realmd.mo
/usr/share/locale/et/LC_MESSAGES/realmd.mo
/usr/share/locale/eu/LC_MESSAGES/realmd.mo
/usr/share/locale/fa/LC_MESSAGES/realmd.mo
/usr/share/locale/fi/LC_MESSAGES/realmd.mo
/usr/share/locale/fo/LC_MESSAGES/realmd.mo
/usr/share/locale/fr/LC_MESSAGES/realmd.mo
/usr/share/locale/ga/LC_MESSAGES/realmd.mo
/usr/share/locale/gl/LC_MESSAGES/realmd.mo
/usr/share/locale/gu/LC_MESSAGES/realmd.mo
/usr/share/locale/he/LC_MESSAGES/realmd.mo
/usr/share/locale/hi/LC_MESSAGES/realmd.mo
/usr/share/locale/hr/LC_MESSAGES/realmd.mo
/usr/share/locale/hu/LC_MESSAGES/realmd.mo
/usr/share/locale/ia/LC_MESSAGES/realmd.mo
/usr/share/locale/id/LC_MESSAGES/realmd.mo
/usr/share/locale/it/LC_MESSAGES/realmd.mo
/usr/share/locale/ja/LC_MESSAGES/realmd.mo
/usr/share/locale/ka/LC_MESSAGES/realmd.mo
/usr/share/locale/kk/LC_MESSAGES/realmd.mo
/usr/share/locale/kn/LC_MESSAGES/realmd.mo
/usr/share/locale/ko/LC_MESSAGES/realmd.mo
/usr/share/locale/lt/LC_MESSAGES/realmd.mo
/usr/share/locale/lv/LC_MESSAGES/realmd.mo
/usr/share/locale/ml/LC_MESSAGES/realmd.mo
/usr/share/locale/mr/LC_MESSAGES/realmd.mo
/usr/share/locale/ms/LC_MESSAGES/realmd.mo
/usr/share/locale/nb/LC_MESSAGES/realmd.mo
/usr/share/locale/nl/LC_MESSAGES/realmd.mo
/usr/share/locale/nn/LC_MESSAGES/realmd.mo
/usr/share/locale/oc/LC_MESSAGES/realmd.mo
/usr/share/locale/or/LC_MESSAGES/realmd.mo
/usr/share/locale/pa/LC_MESSAGES/realmd.mo
/usr/share/locale/pl/LC_MESSAGES/realmd.mo
/usr/share/locale/pt/LC_MESSAGES/realmd.mo
/usr/share/locale/pt_BR/LC_MESSAGES/realmd.mo
/usr/share/locale/ro/LC_MESSAGES/realmd.mo
/usr/share/locale/ru/LC_MESSAGES/realmd.mo
/usr/share/locale/sk/LC_MESSAGES/realmd.mo
/usr/share/locale/sl/LC_MESSAGES/realmd.mo
/usr/share/locale/sq/LC_MESSAGES/realmd.mo
/usr/share/locale/sr@latin/LC_MESSAGES/realmd.mo
/usr/share/locale/sv/LC_MESSAGES/realmd.mo
/usr/share/locale/ta/LC_MESSAGES/realmd.mo
/usr/share/locale/te/LC_MESSAGES/realmd.mo
/usr/share/locale/th/LC_MESSAGES/realmd.mo
/usr/share/locale/tr/LC_MESSAGES/realmd.mo
/usr/share/locale/uk/LC_MESSAGES/realmd.mo
/usr/share/locale/vi/LC_MESSAGES/realmd.mo
/usr/share/locale/wa/LC_MESSAGES/realmd.mo
/usr/share/locale/zh_CN/LC_MESSAGES/realmd.mo
/usr/share/locale/zh_HK/LC_MESSAGES/realmd.mo
/usr/share/locale/zh_TW/LC_MESSAGES/realmd.mo
/usr/share/man/man5/realmd.conf.5.gz
/usr/share/man/man8/realm.8.gz
/usr/share/polkit-1/actions/org.freedesktop.realmd.policy
/var/cache/realmd

References

Summary

In this tutorial we learn how to install realmd on CentOS 8 using yum and dnf.