Removing KDE from Fedora21, groupremove not working

15,626

Solution 1

On versions of fedora with DNF, you can remove it much more easily.

sudo dnf remove @kde-desktop

Solution 2

You can remove KDE by runnung

yum groupremove "KDE (K Desktop Environment)"

or yum groupremove "KDE desktop"

or yum remove kde*

Solution 3

I was also facing the same problem. I am using Fedora 22. When I tried using the command

sudo dnf remove kde*

it was showing something like cannot remove the booted kernel or some error approximately related to this. I tried to login as root and then tried the same command

dnf remove kde*

It worked fine for me. I also removed the gnome-classic package by using the same command. After applying this command, a reboot was required.

Share:
15,626

Related videos on Youtube

slick1537
Author by

slick1537

Updated on September 18, 2022

Comments

  • slick1537
    slick1537 almost 2 years

    I am trying to remove KDE from my Fedora 21 installation in favor of XFCE. I have tried a few different commands and neither of them work.

    #yum groupremove "KDE Plasma Workspaces"
    

    and also

    #yum  groupremove  kde-desktop-environment  --exclude=fedora-release\*
    

    Both fail to find the kde group and remove it. I think it has something to do with the fact that I upgraded from fedora20 with fedup and used the non-product selection.

  • G-Man Says 'Reinstate Monica'
    G-Man Says 'Reinstate Monica' about 9 years
    Welcome to Stack Exchange!  We’re looking for long answers that provide some explanation and context.  Don’t just give a one-line answer; explain why your answer is right, ideally with citations.  Answers that don’t include explanations may be removed.
  • G-Man Says 'Reinstate Monica'
    G-Man Says 'Reinstate Monica' about 9 years
    It is probably better to put the asterisk into quotes; e.g., sudo dnf remove "kde*".  If you say sudo dnf remove kde* (without quotes) in a directory that contains files with names like kdefine and kdelta, then dnf will see the command line dnf remove kdefine kdelta, which may yield unexpected results.