Removing Gnome shell from Ubuntu 18.04 Desktop












1














Long story short: I installed Ubuntu 18.04 Desktop on my home server (because Ubuntu server kept failing on install.) I configured Grub to load directly to command line. I would really like to uninstall GUI interface--make it lean and have less programs to update.



If I uninstalled gnome, will that affect any other functionality? What's the best way to uninstall Gnome to avoid any unintended consequences?



(I've reviewed a few other posts, but most seem to be about using Unity after uninstalling Gnome.)










share|improve this question






















  • What do you mean by "Ubuntu server kept failing on install?"
    – user535733
    yesterday










  • See my other answer - you may consider to have MATE instead of GNOME.
    – N0rbert
    9 hours ago
















1














Long story short: I installed Ubuntu 18.04 Desktop on my home server (because Ubuntu server kept failing on install.) I configured Grub to load directly to command line. I would really like to uninstall GUI interface--make it lean and have less programs to update.



If I uninstalled gnome, will that affect any other functionality? What's the best way to uninstall Gnome to avoid any unintended consequences?



(I've reviewed a few other posts, but most seem to be about using Unity after uninstalling Gnome.)










share|improve this question






















  • What do you mean by "Ubuntu server kept failing on install?"
    – user535733
    yesterday










  • See my other answer - you may consider to have MATE instead of GNOME.
    – N0rbert
    9 hours ago














1












1








1







Long story short: I installed Ubuntu 18.04 Desktop on my home server (because Ubuntu server kept failing on install.) I configured Grub to load directly to command line. I would really like to uninstall GUI interface--make it lean and have less programs to update.



If I uninstalled gnome, will that affect any other functionality? What's the best way to uninstall Gnome to avoid any unintended consequences?



(I've reviewed a few other posts, but most seem to be about using Unity after uninstalling Gnome.)










share|improve this question













Long story short: I installed Ubuntu 18.04 Desktop on my home server (because Ubuntu server kept failing on install.) I configured Grub to load directly to command line. I would really like to uninstall GUI interface--make it lean and have less programs to update.



If I uninstalled gnome, will that affect any other functionality? What's the best way to uninstall Gnome to avoid any unintended consequences?



(I've reviewed a few other posts, but most seem to be about using Unity after uninstalling Gnome.)







18.04 gnome






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









UnqtiousDude

6115




6115












  • What do you mean by "Ubuntu server kept failing on install?"
    – user535733
    yesterday










  • See my other answer - you may consider to have MATE instead of GNOME.
    – N0rbert
    9 hours ago


















  • What do you mean by "Ubuntu server kept failing on install?"
    – user535733
    yesterday










  • See my other answer - you may consider to have MATE instead of GNOME.
    – N0rbert
    9 hours ago
















What do you mean by "Ubuntu server kept failing on install?"
– user535733
yesterday




What do you mean by "Ubuntu server kept failing on install?"
– user535733
yesterday












See my other answer - you may consider to have MATE instead of GNOME.
– N0rbert
9 hours ago




See my other answer - you may consider to have MATE instead of GNOME.
– N0rbert
9 hours ago










2 Answers
2






active

oldest

votes


















0














The problem with starting from a Desktop install is that hundreds of desktop packages were apt-marked specifically to prevent users from accidentally removing their GUI. Removing the top-level Gnome packages WON'T autoremove hundreds of libs underneath, and definitely won't accomplish what you want without a lot of tedious effort.



Users who wish to convert should either:



1) Use the Server installer, Minimal Image, or Cloud Image (not for bare metal), or



2) Embrace the package overhead.



Since you said that #1 doesn't work for you, then seems like #2 is your preferred alternative. If #2 bugs you, then revisit your assumptions about #1.






share|improve this answer





























    0














    Remove xorg, wayland and related packages. This will effectively take down any graphical application as these all depend on the xserver. Do an autoremove after this (sudo apt autoremove). Then install the metapackage ubuntu-server. This will install any package that is considered a part of the ubuntu server installation as seen by the Canonical developpers. If removing xserver ever removed packages you need for a server (which I am pretty convinced it won't), this command will pull them back in.






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      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%2faskubuntu.com%2fquestions%2f1104516%2fremoving-gnome-shell-from-ubuntu-18-04-desktop%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      The problem with starting from a Desktop install is that hundreds of desktop packages were apt-marked specifically to prevent users from accidentally removing their GUI. Removing the top-level Gnome packages WON'T autoremove hundreds of libs underneath, and definitely won't accomplish what you want without a lot of tedious effort.



      Users who wish to convert should either:



      1) Use the Server installer, Minimal Image, or Cloud Image (not for bare metal), or



      2) Embrace the package overhead.



      Since you said that #1 doesn't work for you, then seems like #2 is your preferred alternative. If #2 bugs you, then revisit your assumptions about #1.






      share|improve this answer


























        0














        The problem with starting from a Desktop install is that hundreds of desktop packages were apt-marked specifically to prevent users from accidentally removing their GUI. Removing the top-level Gnome packages WON'T autoremove hundreds of libs underneath, and definitely won't accomplish what you want without a lot of tedious effort.



        Users who wish to convert should either:



        1) Use the Server installer, Minimal Image, or Cloud Image (not for bare metal), or



        2) Embrace the package overhead.



        Since you said that #1 doesn't work for you, then seems like #2 is your preferred alternative. If #2 bugs you, then revisit your assumptions about #1.






        share|improve this answer
























          0












          0








          0






          The problem with starting from a Desktop install is that hundreds of desktop packages were apt-marked specifically to prevent users from accidentally removing their GUI. Removing the top-level Gnome packages WON'T autoremove hundreds of libs underneath, and definitely won't accomplish what you want without a lot of tedious effort.



          Users who wish to convert should either:



          1) Use the Server installer, Minimal Image, or Cloud Image (not for bare metal), or



          2) Embrace the package overhead.



          Since you said that #1 doesn't work for you, then seems like #2 is your preferred alternative. If #2 bugs you, then revisit your assumptions about #1.






          share|improve this answer












          The problem with starting from a Desktop install is that hundreds of desktop packages were apt-marked specifically to prevent users from accidentally removing their GUI. Removing the top-level Gnome packages WON'T autoremove hundreds of libs underneath, and definitely won't accomplish what you want without a lot of tedious effort.



          Users who wish to convert should either:



          1) Use the Server installer, Minimal Image, or Cloud Image (not for bare metal), or



          2) Embrace the package overhead.



          Since you said that #1 doesn't work for you, then seems like #2 is your preferred alternative. If #2 bugs you, then revisit your assumptions about #1.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          user535733

          7,62722942




          7,62722942

























              0














              Remove xorg, wayland and related packages. This will effectively take down any graphical application as these all depend on the xserver. Do an autoremove after this (sudo apt autoremove). Then install the metapackage ubuntu-server. This will install any package that is considered a part of the ubuntu server installation as seen by the Canonical developpers. If removing xserver ever removed packages you need for a server (which I am pretty convinced it won't), this command will pull them back in.






              share|improve this answer


























                0














                Remove xorg, wayland and related packages. This will effectively take down any graphical application as these all depend on the xserver. Do an autoremove after this (sudo apt autoremove). Then install the metapackage ubuntu-server. This will install any package that is considered a part of the ubuntu server installation as seen by the Canonical developpers. If removing xserver ever removed packages you need for a server (which I am pretty convinced it won't), this command will pull them back in.






                share|improve this answer
























                  0












                  0








                  0






                  Remove xorg, wayland and related packages. This will effectively take down any graphical application as these all depend on the xserver. Do an autoremove after this (sudo apt autoremove). Then install the metapackage ubuntu-server. This will install any package that is considered a part of the ubuntu server installation as seen by the Canonical developpers. If removing xserver ever removed packages you need for a server (which I am pretty convinced it won't), this command will pull them back in.






                  share|improve this answer












                  Remove xorg, wayland and related packages. This will effectively take down any graphical application as these all depend on the xserver. Do an autoremove after this (sudo apt autoremove). Then install the metapackage ubuntu-server. This will install any package that is considered a part of the ubuntu server installation as seen by the Canonical developpers. If removing xserver ever removed packages you need for a server (which I am pretty convinced it won't), this command will pull them back in.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 19 hours ago









                  vanadium

                  4,80911228




                  4,80911228






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • 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%2faskubuntu.com%2fquestions%2f1104516%2fremoving-gnome-shell-from-ubuntu-18-04-desktop%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

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      File:DeusFollowingSea.jpg