KDE Plasma Desktop Environment on Rocky Linux 9

Good Evening everyone.

We all got our preferred Desktop Environments which we feel comfortable with. I am a KDE Plasma guy.

Rocky Linux 9 is shipped defaulted with GNOME 40 Desktop Environment.

Clearly, KDE Plasma is not listed under yum grouplist . I have today tried to install KDE Plasma but in vain.

This is what I did .

  1. sudo dnf update
  2. sudo dnf config-manager --set-enabled crb
    ( I couldn’t get over this step, and had to manually enable the crb )

After enabling this , I tried the next step
3. sudo dnf install epel-release

At this point I got so many broken packages with missing dependencies. I can’t list them all.
4. Step four was to now install KDE Plasma
sudo dnf groupinstall -y “KDE Plasma Workspaces”

Would anyone kindly assist me on this . I know I might be missing something very crucial.

Thank you.

You might get it to work, but KDE is not supported.

Make sure you have the required repositories enabled:

# dnf install epel-release -y
# dnf repolist
repo id                                                       repo name
appstream                                                     Rocky Linux 9 - AppStream
baseos                                                        Rocky Linux 9 - BaseOS
crb                                                           Rocky Linux 9 - CRB
epel                                                          Extra Packages for Enterprise Linux 9 - x86_64
extras                                                        Rocky Linux 9 - Extras

dnf groupinstall should work right after.

As an aside, we did not have issues building our Rocky 9 KDE live images

@nazunalika surprisingly I did this as well and had so many broken packages reported.

I will share the screenshot in the morning .

Thank you @gerry666uk . Would you have any suggestion on how to get it to work?

I’m explaining that even if you get it to work, it could break at any time, becuase upstream won’t be testing against it.

2 Likes

Okay then.

On Rocky Linux 8.6 the process is very smooth. May be the developers can look into it for RL 9 as well.

Your reply is highly valued .

Thanks

Well, KDE comes from EPEL, so it’s the EPEL developers responsible for it. RHEL doesn’t include KDE, so therefore it will never be a part of Rocky either by default unless Red Hat include it. Hence why it’s in third party repositories like EPEL.

I just ran the groupinstall on my Rocky 9 zero problems with dependencies, so make sure you have the same repositories enabled as mentioned by @nazunalika and here are mine for confirmation as well:

[root@rocky-desktop ian]# dnf repolist
repo id                              repo name
appstream                            Rocky Linux 9 - AppStream
baseos                               Rocky Linux 9 - BaseOS
crb                                  Rocky Linux 9 - CRB
epel                                 Extra Packages for Enterprise Linux 9 - x86_64
extras                               Rocky Linux 9 - Extras

maybe you didn’t enable all of them, use the dnf repolist command to verify. Maybe you didn’t enable the extras repository

1 Like

Here are the steps clean test with VirtualBox installing minimal RockyLinux 9:
dnf -y update
dnf config-manager --set-enabled crb
dnf install -y epel-release
dnf groupinstall -y “KDE Plasma Workspaces”
dnf --enablerepo=epel group -y install “KDE Plasma Workspaces” “base-x”
systemctl set-default graphical
reboot -f

1 Like

Thank you Sir,

Let me try it out on the VM then give you feedback.

Thank you.

That has redundancies: the ‘epel’ is enabled by default by the epel-release package, and you install KDE Plasma Workspaces group twice.

dnf install epel-release
dnf group install “KDE Plasma Workspaces” “base-x”

You can as well type the ‘y’ when dnf displays what it would do, rather that let transaction auto-proceed with the ‘-y’ parameter.

1 Like

Interesting. KDE Plasma works fine on my machines.