Why is Hyprland depending on KDE? Does it REALLY depend on it or is it a bug?

I’m trying to remove KDE in favor of Hyprland, but dnf is saying that Hyprland DEPENDS on KDE. Is this supposed to happen?

(solopasha/hyprland Copr is the repo)

KDE depends on KDE, and probably Hyprland has some of the same dependencies.

So when you remove a single component, KDE removes all of KDE.

Try removing KDE first, then installing Hyperland.

1 Like

If you install hyperland then you can use the ldd command to see what the hyperland compositor is linked against.

hyprland from Fedora doesn’ have this dependencies.
dnf install hyprland

Updating and loading repositories:
Repositories loaded.
Package                                    Arch       Version                                     Repository                  Size
Installing:
 hyprland                                  x86_64     0.45.2-1.fc42                               fedora                  54.2 MiB
Installing dependencies:
 aquamarine                                x86_64     0.5.0-4.fc42                                fedora                   1.2 MiB
 hyprcursor                                x86_64     0.1.10-1.fc42                               fedora                 650.4 KiB
 hyprlang                                  x86_64     0.5.3-2.fc42                                fedora                 244.5 KiB
 hyprutils                                 x86_64     0.2.6-2.fc42                                fedora                 196.1 KiB
 tomlplusplus                              x86_64     3.4.0-5.fc42                                fedora                 258.1 KiB

Transaction Summary:
 Installing:         6 packages

Total size of inbound packages is 48 MiB. Need to download 48 MiB.
After this operation, 57 MiB extra will be used (install 57 MiB, remove 0 B).
Is this ok [y/N]: n
Operation aborted by the user.

It is probably quite useless unless you install some apps in addition to hyperland itself.