Remove packages to tranform ubuntu Desktop to Server?











up vote
14
down vote

favorite
3












I have a VPS that has Ubuntu 11.10 on it. Unfortunately, only the 11.10 Desktop (not server) image was available as an image to install your VPS with. How can I remove the packages included in the Desktop install, and, if needed, install the packages that only the server install has?



I've tried sudo apt-get remove ubuntu-desktop and then sudo apt-get autoremove. Unfortunately, that didn't work: it only removed 'libjudy-debian' (or something like that) which was installed from having 'miredo' installed at one point.










share|improve this question


























    up vote
    14
    down vote

    favorite
    3












    I have a VPS that has Ubuntu 11.10 on it. Unfortunately, only the 11.10 Desktop (not server) image was available as an image to install your VPS with. How can I remove the packages included in the Desktop install, and, if needed, install the packages that only the server install has?



    I've tried sudo apt-get remove ubuntu-desktop and then sudo apt-get autoremove. Unfortunately, that didn't work: it only removed 'libjudy-debian' (or something like that) which was installed from having 'miredo' installed at one point.










    share|improve this question
























      up vote
      14
      down vote

      favorite
      3









      up vote
      14
      down vote

      favorite
      3






      3





      I have a VPS that has Ubuntu 11.10 on it. Unfortunately, only the 11.10 Desktop (not server) image was available as an image to install your VPS with. How can I remove the packages included in the Desktop install, and, if needed, install the packages that only the server install has?



      I've tried sudo apt-get remove ubuntu-desktop and then sudo apt-get autoremove. Unfortunately, that didn't work: it only removed 'libjudy-debian' (or something like that) which was installed from having 'miredo' installed at one point.










      share|improve this question













      I have a VPS that has Ubuntu 11.10 on it. Unfortunately, only the 11.10 Desktop (not server) image was available as an image to install your VPS with. How can I remove the packages included in the Desktop install, and, if needed, install the packages that only the server install has?



      I've tried sudo apt-get remove ubuntu-desktop and then sudo apt-get autoremove. Unfortunately, that didn't work: it only removed 'libjudy-debian' (or something like that) which was installed from having 'miredo' installed at one point.







      server xorg apt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 28 '11 at 15:39









      Azendale

      8,71873862




      8,71873862






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          13
          down vote



          accepted










          Right autoremove only removes packages that were installed automatically as part of other package installs. The things installed in the image are seeded and so all are basically considered "manual".



          You'll probably get rid of most of them by getting rid of Xorg:



          sudo apt-get remove xserver-xorg-core


          And then do another autoremove.



          There will likely be other things that are left around that you don't need.. but .. really.. why not just ask your VPS provider for a server image.. isn't it a little silly that they even offer the desktop image?






          share|improve this answer

















          • 1




            I was hoping there would be a better way, but thanks anyways.
            – Azendale
            Dec 7 '11 at 20:00


















          up vote
          24
          down vote













          To remove x11 and everything that uses it, including all configuration:



          apt-get purge libx11.* libqt.*


          Unlike the accepted answer (remove xserver-xorg-core) this one will also remove all desktop packages like Firefox etc.






          share|improve this answer























          • Will this remove xserver as the accepted answer? Or does that remove need to be done as well?
            – IanVaughan
            Feb 4 '15 at 23:17






          • 2




            Yes it will be removed. Do apt-get --assume-no remove libx11.* libqt.* to see all of the packages that will be removed.
            – bain
            Feb 6 '15 at 13:23












          • yes, i'm doing this now, it removes quite a lot more than the accepted answer and it's all things you don't want there anyway. pastebin.com/mQK1MYCH
            – spezticle
            Dec 21 '15 at 15:09












          • apt autoremove will also remove a ton of "unneeded" packages after the purge operation
            – andrei
            Dec 1 at 18:26













          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',
          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%2f73219%2fremove-packages-to-tranform-ubuntu-desktop-to-server%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








          up vote
          13
          down vote



          accepted










          Right autoremove only removes packages that were installed automatically as part of other package installs. The things installed in the image are seeded and so all are basically considered "manual".



          You'll probably get rid of most of them by getting rid of Xorg:



          sudo apt-get remove xserver-xorg-core


          And then do another autoremove.



          There will likely be other things that are left around that you don't need.. but .. really.. why not just ask your VPS provider for a server image.. isn't it a little silly that they even offer the desktop image?






          share|improve this answer

















          • 1




            I was hoping there would be a better way, but thanks anyways.
            – Azendale
            Dec 7 '11 at 20:00















          up vote
          13
          down vote



          accepted










          Right autoremove only removes packages that were installed automatically as part of other package installs. The things installed in the image are seeded and so all are basically considered "manual".



          You'll probably get rid of most of them by getting rid of Xorg:



          sudo apt-get remove xserver-xorg-core


          And then do another autoremove.



          There will likely be other things that are left around that you don't need.. but .. really.. why not just ask your VPS provider for a server image.. isn't it a little silly that they even offer the desktop image?






          share|improve this answer

















          • 1




            I was hoping there would be a better way, but thanks anyways.
            – Azendale
            Dec 7 '11 at 20:00













          up vote
          13
          down vote



          accepted







          up vote
          13
          down vote



          accepted






          Right autoremove only removes packages that were installed automatically as part of other package installs. The things installed in the image are seeded and so all are basically considered "manual".



          You'll probably get rid of most of them by getting rid of Xorg:



          sudo apt-get remove xserver-xorg-core


          And then do another autoremove.



          There will likely be other things that are left around that you don't need.. but .. really.. why not just ask your VPS provider for a server image.. isn't it a little silly that they even offer the desktop image?






          share|improve this answer












          Right autoremove only removes packages that were installed automatically as part of other package installs. The things installed in the image are seeded and so all are basically considered "manual".



          You'll probably get rid of most of them by getting rid of Xorg:



          sudo apt-get remove xserver-xorg-core


          And then do another autoremove.



          There will likely be other things that are left around that you don't need.. but .. really.. why not just ask your VPS provider for a server image.. isn't it a little silly that they even offer the desktop image?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 30 '11 at 0:06









          SpamapS

          15.8k42649




          15.8k42649








          • 1




            I was hoping there would be a better way, but thanks anyways.
            – Azendale
            Dec 7 '11 at 20:00














          • 1




            I was hoping there would be a better way, but thanks anyways.
            – Azendale
            Dec 7 '11 at 20:00








          1




          1




          I was hoping there would be a better way, but thanks anyways.
          – Azendale
          Dec 7 '11 at 20:00




          I was hoping there would be a better way, but thanks anyways.
          – Azendale
          Dec 7 '11 at 20:00












          up vote
          24
          down vote













          To remove x11 and everything that uses it, including all configuration:



          apt-get purge libx11.* libqt.*


          Unlike the accepted answer (remove xserver-xorg-core) this one will also remove all desktop packages like Firefox etc.






          share|improve this answer























          • Will this remove xserver as the accepted answer? Or does that remove need to be done as well?
            – IanVaughan
            Feb 4 '15 at 23:17






          • 2




            Yes it will be removed. Do apt-get --assume-no remove libx11.* libqt.* to see all of the packages that will be removed.
            – bain
            Feb 6 '15 at 13:23












          • yes, i'm doing this now, it removes quite a lot more than the accepted answer and it's all things you don't want there anyway. pastebin.com/mQK1MYCH
            – spezticle
            Dec 21 '15 at 15:09












          • apt autoremove will also remove a ton of "unneeded" packages after the purge operation
            – andrei
            Dec 1 at 18:26

















          up vote
          24
          down vote













          To remove x11 and everything that uses it, including all configuration:



          apt-get purge libx11.* libqt.*


          Unlike the accepted answer (remove xserver-xorg-core) this one will also remove all desktop packages like Firefox etc.






          share|improve this answer























          • Will this remove xserver as the accepted answer? Or does that remove need to be done as well?
            – IanVaughan
            Feb 4 '15 at 23:17






          • 2




            Yes it will be removed. Do apt-get --assume-no remove libx11.* libqt.* to see all of the packages that will be removed.
            – bain
            Feb 6 '15 at 13:23












          • yes, i'm doing this now, it removes quite a lot more than the accepted answer and it's all things you don't want there anyway. pastebin.com/mQK1MYCH
            – spezticle
            Dec 21 '15 at 15:09












          • apt autoremove will also remove a ton of "unneeded" packages after the purge operation
            – andrei
            Dec 1 at 18:26















          up vote
          24
          down vote










          up vote
          24
          down vote









          To remove x11 and everything that uses it, including all configuration:



          apt-get purge libx11.* libqt.*


          Unlike the accepted answer (remove xserver-xorg-core) this one will also remove all desktop packages like Firefox etc.






          share|improve this answer














          To remove x11 and everything that uses it, including all configuration:



          apt-get purge libx11.* libqt.*


          Unlike the accepted answer (remove xserver-xorg-core) this one will also remove all desktop packages like Firefox etc.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 17 '14 at 10:19

























          answered Jun 17 '14 at 8:53









          bain

          9,04322942




          9,04322942












          • Will this remove xserver as the accepted answer? Or does that remove need to be done as well?
            – IanVaughan
            Feb 4 '15 at 23:17






          • 2




            Yes it will be removed. Do apt-get --assume-no remove libx11.* libqt.* to see all of the packages that will be removed.
            – bain
            Feb 6 '15 at 13:23












          • yes, i'm doing this now, it removes quite a lot more than the accepted answer and it's all things you don't want there anyway. pastebin.com/mQK1MYCH
            – spezticle
            Dec 21 '15 at 15:09












          • apt autoremove will also remove a ton of "unneeded" packages after the purge operation
            – andrei
            Dec 1 at 18:26




















          • Will this remove xserver as the accepted answer? Or does that remove need to be done as well?
            – IanVaughan
            Feb 4 '15 at 23:17






          • 2




            Yes it will be removed. Do apt-get --assume-no remove libx11.* libqt.* to see all of the packages that will be removed.
            – bain
            Feb 6 '15 at 13:23












          • yes, i'm doing this now, it removes quite a lot more than the accepted answer and it's all things you don't want there anyway. pastebin.com/mQK1MYCH
            – spezticle
            Dec 21 '15 at 15:09












          • apt autoremove will also remove a ton of "unneeded" packages after the purge operation
            – andrei
            Dec 1 at 18:26


















          Will this remove xserver as the accepted answer? Or does that remove need to be done as well?
          – IanVaughan
          Feb 4 '15 at 23:17




          Will this remove xserver as the accepted answer? Or does that remove need to be done as well?
          – IanVaughan
          Feb 4 '15 at 23:17




          2




          2




          Yes it will be removed. Do apt-get --assume-no remove libx11.* libqt.* to see all of the packages that will be removed.
          – bain
          Feb 6 '15 at 13:23






          Yes it will be removed. Do apt-get --assume-no remove libx11.* libqt.* to see all of the packages that will be removed.
          – bain
          Feb 6 '15 at 13:23














          yes, i'm doing this now, it removes quite a lot more than the accepted answer and it's all things you don't want there anyway. pastebin.com/mQK1MYCH
          – spezticle
          Dec 21 '15 at 15:09






          yes, i'm doing this now, it removes quite a lot more than the accepted answer and it's all things you don't want there anyway. pastebin.com/mQK1MYCH
          – spezticle
          Dec 21 '15 at 15:09














          apt autoremove will also remove a ton of "unneeded" packages after the purge operation
          – andrei
          Dec 1 at 18:26






          apt autoremove will also remove a ton of "unneeded" packages after the purge operation
          – andrei
          Dec 1 at 18:26




















          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%2f73219%2fremove-packages-to-tranform-ubuntu-desktop-to-server%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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei