How To Install sddm on Rocky Linux 8

In this tutorial we learn how to install sddm on Rocky Linux 8. sddm is QML based X11 desktop manager

Introduction

In this tutorial we learn how to install sddm on Rocky Linux 8.

What is sddm

SDDM is a modern display manager for X11 aiming to be fast, simple and beautiful. It uses modern technologies like QtQuick, which in turn gives the designer the ability to create smooth, animated user interfaces.

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

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

sudo dnf -y install sddm

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

sudo yum -y install sddm

How To Uninstall sddm on Rocky Linux 8

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

sudo dnf remove sddm

sddm Package Contents on Rocky Linux 8

/etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
/etc/pam.d/sddm
/etc/pam.d/sddm-autologin
/etc/pam.d/sddm-greeter
/etc/sddm
/etc/sddm.conf
/etc/sddm/README.scripts
/etc/sddm/Xsetup
/etc/sddm/Xstop
/etc/sddm/wayland-session
/etc/sysconfig/sddm
/usr/bin/sddm
/usr/bin/sddm-greeter
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/7af1faead0e93894d0b71e7b9f24910366d266
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/7ad361d6a71db4562563553538c5e68c4ef4da
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/cbe12a7688ee512e18c7f7a99be7b190a9e4d1
/usr/lib/systemd/system/sddm.service
/usr/lib/tmpfiles.d/sddm.conf
/usr/lib64/qt5/qml/SddmComponents
/usr/lib64/qt5/qml/SddmComponents/Background.qml
/usr/lib64/qt5/qml/SddmComponents/Button.qml
/usr/lib64/qt5/qml/SddmComponents/Clock.qml
/usr/lib64/qt5/qml/SddmComponents/ComboBox.qml
/usr/lib64/qt5/qml/SddmComponents/ImageButton.qml
/usr/lib64/qt5/qml/SddmComponents/LayoutBox.qml
/usr/lib64/qt5/qml/SddmComponents/Menu.qml
/usr/lib64/qt5/qml/SddmComponents/PasswordBox.qml
/usr/lib64/qt5/qml/SddmComponents/PictureBox.qml
/usr/lib64/qt5/qml/SddmComponents/TextBox.qml
/usr/lib64/qt5/qml/SddmComponents/TextConstants.qml
/usr/lib64/qt5/qml/SddmComponents/qmldir
/usr/lib64/qt5/qml/SddmComponents/warning.png
/usr/libexec/sddm-helper
/usr/share/doc/sddm
/usr/share/doc/sddm/CONTRIBUTORS
/usr/share/doc/sddm/README.md
/usr/share/licenses/sddm
/usr/share/licenses/sddm/LICENSE
/usr/share/man/man1/sddm-greeter.1.gz
/usr/share/man/man1/sddm.1.gz
/usr/share/man/man5/sddm-state.conf.5.gz
/usr/share/man/man5/sddm.conf.5.gz
/usr/share/sddm
/usr/share/sddm/faces
/usr/share/sddm/faces/.face.icon
/usr/share/sddm/faces/root.face.icon
/usr/share/sddm/flags
/usr/share/sddm/flags/ae.png
/usr/share/sddm/flags/am.png
/usr/share/sddm/flags/ar.png
/usr/share/sddm/flags/at.png
/usr/share/sddm/flags/az.png
/usr/share/sddm/flags/be.png
/usr/share/sddm/flags/bg.png
/usr/share/sddm/flags/bh.png
/usr/share/sddm/flags/br.png
/usr/share/sddm/flags/by.png
/usr/share/sddm/flags/ca.png
/usr/share/sddm/flags/ch.png
/usr/share/sddm/flags/cu.png
/usr/share/sddm/flags/cz.png
/usr/share/sddm/flags/de.png
/usr/share/sddm/flags/dj.png
/usr/share/sddm/flags/dk.png
/usr/share/sddm/flags/dz.png
/usr/share/sddm/flags/ee.png
/usr/share/sddm/flags/eg.png
/usr/share/sddm/flags/es.png
/usr/share/sddm/flags/eu.png
/usr/share/sddm/flags/fi.png
/usr/share/sddm/flags/fr.png
/usr/share/sddm/flags/gb.png
/usr/share/sddm/flags/ge.png
/usr/share/sddm/flags/gr.png
/usr/share/sddm/flags/hr.png
/usr/share/sddm/flags/hu.png
/usr/share/sddm/flags/il.png
/usr/share/sddm/flags/in.png
/usr/share/sddm/flags/iq.png
/usr/share/sddm/flags/is.png
/usr/share/sddm/flags/it.png
/usr/share/sddm/flags/jo.png
/usr/share/sddm/flags/jp.png
/usr/share/sddm/flags/km.png
/usr/share/sddm/flags/kr.png
/usr/share/sddm/flags/kw.png
/usr/share/sddm/flags/la.png
/usr/share/sddm/flags/lb.png
/usr/share/sddm/flags/lt.png
/usr/share/sddm/flags/lv.png
/usr/share/sddm/flags/ly.png
/usr/share/sddm/flags/ma.png
/usr/share/sddm/flags/mk.png
/usr/share/sddm/flags/mn.png
/usr/share/sddm/flags/mx.png
/usr/share/sddm/flags/nl.png
/usr/share/sddm/flags/no.png
/usr/share/sddm/flags/om.png
/usr/share/sddm/flags/pl.png
/usr/share/sddm/flags/ps.png
/usr/share/sddm/flags/pt.png
/usr/share/sddm/flags/qa.png
/usr/share/sddm/flags/qc.png
/usr/share/sddm/flags/ro.png
/usr/share/sddm/flags/ru.png
/usr/share/sddm/flags/sa.png
/usr/share/sddm/flags/sd.png
/usr/share/sddm/flags/se.png
/usr/share/sddm/flags/si.png
/usr/share/sddm/flags/sk.png
/usr/share/sddm/flags/so.png
/usr/share/sddm/flags/sr.png
/usr/share/sddm/flags/sy.png
/usr/share/sddm/flags/th.png
/usr/share/sddm/flags/tn.png
/usr/share/sddm/flags/tr.png
/usr/share/sddm/flags/ua.png
/usr/share/sddm/flags/uk.png
/usr/share/sddm/flags/un.png
/usr/share/sddm/flags/us.png
/usr/share/sddm/flags/uy.png
/usr/share/sddm/flags/vn.png
/usr/share/sddm/flags/ye.png
/usr/share/sddm/flags/yu.png
/usr/share/sddm/flags/zz.png
/usr/share/sddm/scripts
/usr/share/sddm/scripts/README.scripts
/usr/share/sddm/scripts/Xsession
/usr/share/sddm/scripts/Xsetup
/usr/share/sddm/scripts/Xstop
/usr/share/sddm/scripts/wayland-session
/usr/share/sddm/themes
/usr/share/sddm/translations
/usr/share/sddm/translations/ar.qm
/usr/share/sddm/translations/bn.qm
/usr/share/sddm/translations/ca.qm
/usr/share/sddm/translations/cs.qm
/usr/share/sddm/translations/da.qm
/usr/share/sddm/translations/de.qm
/usr/share/sddm/translations/es.qm
/usr/share/sddm/translations/et.qm
/usr/share/sddm/translations/fi.qm
/usr/share/sddm/translations/fr.qm
/usr/share/sddm/translations/hi_IN.qm
/usr/share/sddm/translations/hu.qm
/usr/share/sddm/translations/is.qm
/usr/share/sddm/translations/it.qm
/usr/share/sddm/translations/ja.qm
/usr/share/sddm/translations/kk.qm
/usr/share/sddm/translations/ko.qm
/usr/share/sddm/translations/lt.qm
/usr/share/sddm/translations/lv.qm
/usr/share/sddm/translations/nb.qm
/usr/share/sddm/translations/nl.qm
/usr/share/sddm/translations/nn.qm
/usr/share/sddm/translations/pl.qm
/usr/share/sddm/translations/pt_BR.qm
/usr/share/sddm/translations/pt_PT.qm
/usr/share/sddm/translations/ro.qm
/usr/share/sddm/translations/ru.qm
/usr/share/sddm/translations/sk.qm
/usr/share/sddm/translations/sr.qm
/usr/share/sddm/translations/[email protected]
/usr/share/sddm/translations/[email protected]
/usr/share/sddm/translations/[email protected]
/usr/share/sddm/translations/sv.qm
/usr/share/sddm/translations/tr.qm
/usr/share/sddm/translations/uk.qm
/usr/share/sddm/translations/zh_CN.qm
/usr/share/sddm/translations/zh_TW.qm
/var/lib/sddm
/var/run/sddm

References

Summary

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