what desktop environments do i have

dnf group list --available *desktop

installing KDE

dnf groupinstall "KDE Plasma Workspaces"

install switchdesk to switch between desktop environments

dnf install switchdesk

the default desktop is saved in the config file /etc/sysconfig/desktop

to switch desktop in the command line

switchdesk kde

 uninstall plasma

sudo dnf groupremove "KDE Plasma Workspaces"

Restarting xwindows

systemctl restart display-manager