Safely uninstalling GNOME desktop environment on Fedora 29












0














This question is similar to What is secure to remove from GNOME Desktop => GNOME (but not a duplicate).



I want to remove the GNOME desktop environment. Running the proposed command in this question does not work on Fedora 29.



$ sudo dnf group remove gnome-desktop-environment
Warning: Group 'gnome-desktop-environment' is not installed.
Error: No groups marked for removal.


I noticed there is a group called gnome-desktop instead.



However, sudo dnf group remove gnome-desktop lists hundreds (all?) of installed packages for removal. It includes packages that are not at all related to GNOME (such as lib*, plasma-*, texlive-*, ...). I fear that running this command will force me to do a full re-install of the system.



Is there a safe way to remove GNOME's desktop environment from Fedora 29 that leaves me with a functioning KDE install?



I just want to reclaim some disk space (not all of it..)










share|improve this question






















  • My general experience is that it is difficult and risky to remove a desktop environment. It is usually easier (and faster) to backup the files that you want to keep and make a fresh installation and avoid adding things that you don't want. After the installation you can copy the files that you backed up into your fresh system.
    – sudodus
    Nov 23 '18 at 17:17












  • In theory it should work. I would suggest backup first and if you have any problems reinstall kde and if that fails reinstall with the kde spin.
    – Panther
    Nov 23 '18 at 17:37
















0














This question is similar to What is secure to remove from GNOME Desktop => GNOME (but not a duplicate).



I want to remove the GNOME desktop environment. Running the proposed command in this question does not work on Fedora 29.



$ sudo dnf group remove gnome-desktop-environment
Warning: Group 'gnome-desktop-environment' is not installed.
Error: No groups marked for removal.


I noticed there is a group called gnome-desktop instead.



However, sudo dnf group remove gnome-desktop lists hundreds (all?) of installed packages for removal. It includes packages that are not at all related to GNOME (such as lib*, plasma-*, texlive-*, ...). I fear that running this command will force me to do a full re-install of the system.



Is there a safe way to remove GNOME's desktop environment from Fedora 29 that leaves me with a functioning KDE install?



I just want to reclaim some disk space (not all of it..)










share|improve this question






















  • My general experience is that it is difficult and risky to remove a desktop environment. It is usually easier (and faster) to backup the files that you want to keep and make a fresh installation and avoid adding things that you don't want. After the installation you can copy the files that you backed up into your fresh system.
    – sudodus
    Nov 23 '18 at 17:17












  • In theory it should work. I would suggest backup first and if you have any problems reinstall kde and if that fails reinstall with the kde spin.
    – Panther
    Nov 23 '18 at 17:37














0












0








0







This question is similar to What is secure to remove from GNOME Desktop => GNOME (but not a duplicate).



I want to remove the GNOME desktop environment. Running the proposed command in this question does not work on Fedora 29.



$ sudo dnf group remove gnome-desktop-environment
Warning: Group 'gnome-desktop-environment' is not installed.
Error: No groups marked for removal.


I noticed there is a group called gnome-desktop instead.



However, sudo dnf group remove gnome-desktop lists hundreds (all?) of installed packages for removal. It includes packages that are not at all related to GNOME (such as lib*, plasma-*, texlive-*, ...). I fear that running this command will force me to do a full re-install of the system.



Is there a safe way to remove GNOME's desktop environment from Fedora 29 that leaves me with a functioning KDE install?



I just want to reclaim some disk space (not all of it..)










share|improve this question













This question is similar to What is secure to remove from GNOME Desktop => GNOME (but not a duplicate).



I want to remove the GNOME desktop environment. Running the proposed command in this question does not work on Fedora 29.



$ sudo dnf group remove gnome-desktop-environment
Warning: Group 'gnome-desktop-environment' is not installed.
Error: No groups marked for removal.


I noticed there is a group called gnome-desktop instead.



However, sudo dnf group remove gnome-desktop lists hundreds (all?) of installed packages for removal. It includes packages that are not at all related to GNOME (such as lib*, plasma-*, texlive-*, ...). I fear that running this command will force me to do a full re-install of the system.



Is there a safe way to remove GNOME's desktop environment from Fedora 29 that leaves me with a functioning KDE install?



I just want to reclaim some disk space (not all of it..)







fedora gnome dnf






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 '18 at 14:37









Jochem KuijpersJochem Kuijpers

137129




137129












  • My general experience is that it is difficult and risky to remove a desktop environment. It is usually easier (and faster) to backup the files that you want to keep and make a fresh installation and avoid adding things that you don't want. After the installation you can copy the files that you backed up into your fresh system.
    – sudodus
    Nov 23 '18 at 17:17












  • In theory it should work. I would suggest backup first and if you have any problems reinstall kde and if that fails reinstall with the kde spin.
    – Panther
    Nov 23 '18 at 17:37


















  • My general experience is that it is difficult and risky to remove a desktop environment. It is usually easier (and faster) to backup the files that you want to keep and make a fresh installation and avoid adding things that you don't want. After the installation you can copy the files that you backed up into your fresh system.
    – sudodus
    Nov 23 '18 at 17:17












  • In theory it should work. I would suggest backup first and if you have any problems reinstall kde and if that fails reinstall with the kde spin.
    – Panther
    Nov 23 '18 at 17:37
















My general experience is that it is difficult and risky to remove a desktop environment. It is usually easier (and faster) to backup the files that you want to keep and make a fresh installation and avoid adding things that you don't want. After the installation you can copy the files that you backed up into your fresh system.
– sudodus
Nov 23 '18 at 17:17






My general experience is that it is difficult and risky to remove a desktop environment. It is usually easier (and faster) to backup the files that you want to keep and make a fresh installation and avoid adding things that you don't want. After the installation you can copy the files that you backed up into your fresh system.
– sudodus
Nov 23 '18 at 17:17














In theory it should work. I would suggest backup first and if you have any problems reinstall kde and if that fails reinstall with the kde spin.
– Panther
Nov 23 '18 at 17:37




In theory it should work. I would suggest backup first and if you have any problems reinstall kde and if that fails reinstall with the kde spin.
– Panther
Nov 23 '18 at 17:37










1 Answer
1






active

oldest

votes


















0














This is probably no a satisfying answer, but I don't think so. I recently tried to remove gnome from Fedora 29 to switch to i3. After setting the window manager up, I used $ sudo dnf group remove gnome-desktop to 'just' get rid of gnome and I wasn't even able to start up an xserver afterwards. As you said, $ dnf group remove gnome-desktop-environment seems to be obsolete. I found this thread to be interesting, too.






share|improve this answer








New contributor




Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483692%2fsafely-uninstalling-gnome-desktop-environment-on-fedora-29%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    This is probably no a satisfying answer, but I don't think so. I recently tried to remove gnome from Fedora 29 to switch to i3. After setting the window manager up, I used $ sudo dnf group remove gnome-desktop to 'just' get rid of gnome and I wasn't even able to start up an xserver afterwards. As you said, $ dnf group remove gnome-desktop-environment seems to be obsolete. I found this thread to be interesting, too.






    share|improve this answer








    New contributor




    Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0














      This is probably no a satisfying answer, but I don't think so. I recently tried to remove gnome from Fedora 29 to switch to i3. After setting the window manager up, I used $ sudo dnf group remove gnome-desktop to 'just' get rid of gnome and I wasn't even able to start up an xserver afterwards. As you said, $ dnf group remove gnome-desktop-environment seems to be obsolete. I found this thread to be interesting, too.






      share|improve this answer








      New contributor




      Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





















        0












        0








        0






        This is probably no a satisfying answer, but I don't think so. I recently tried to remove gnome from Fedora 29 to switch to i3. After setting the window manager up, I used $ sudo dnf group remove gnome-desktop to 'just' get rid of gnome and I wasn't even able to start up an xserver afterwards. As you said, $ dnf group remove gnome-desktop-environment seems to be obsolete. I found this thread to be interesting, too.






        share|improve this answer








        New contributor




        Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        This is probably no a satisfying answer, but I don't think so. I recently tried to remove gnome from Fedora 29 to switch to i3. After setting the window manager up, I used $ sudo dnf group remove gnome-desktop to 'just' get rid of gnome and I wasn't even able to start up an xserver afterwards. As you said, $ dnf group remove gnome-desktop-environment seems to be obsolete. I found this thread to be interesting, too.







        share|improve this answer








        New contributor




        Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 17 mins ago









        Daniel SchuetteDaniel Schuette

        12




        12




        New contributor




        Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Daniel Schuette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483692%2fsafely-uninstalling-gnome-desktop-environment-on-fedora-29%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            CARDNET

            Boot-repair Failure: Unable to locate package grub-common:i386

            濃尾地震