From Fedora Project Wiki
KDE on EPEL
KDE was part of RHEL up until RHEL 8. At that point the majority of KDE was removed, with only some qt5 packages left. This allowed the EPEL community to build KDE in EPEL.
Installation
Install epel-release
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Enable codeready-builder or PowerTools
If RHEL 8:
- subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
If CentOS 8:
- dnf config-manager --enable PowerTools
Install KDE
- dnf group install kde-desktop
- (Optional) dnf group install kde-media
- (Optional) dnf group install kde-apps
- (Optional) dnf install okular
(Optional if Workstation already installed) Set sddm as desktop manager
- systemctl set-default graphical.target
- dnf install sddm\*
- systemctl enable sddm -f
- reboot
(If Workstation already installed, and didn't enable sddm)
- systemctl reload gdm
(Optional) Install apps via flatpak
- dnf -y install flatpak
- flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak install flathub org.kde.kdenlive