Ubuntu: What packages do I remove to get a command line only mode?


I was attempting to install a command line only version of Ubuntu and followed the instructions here.

I downloaded the alternate CD and went through the installation, but never got an "Install a command-line system." option.

12.04 is now up and running, though I don't need the desktop GUI. From what I have read I can set it back into text mode using grub, but what packages should I remove that I don't need any more?


I'm not sure why the answer about the grub setting that you've linked to is marked as correct, it shouldn't work. This other answer is the correct one. shows a configuration that will stop upstart from even trying to start lightdm. Adding text to the boot cmdline will instead make lightdm's upstart script bail out early when upstart tries to launch it.

The package for the Ubuntu desktop GUI is appropriately named ubuntu-desktop. Remove this and all dependencies of it that you don't explicitly need anymore if disk space is an issue. But if disk space is not a problem, you could just leave them installed, because they won't use any other resources as long as they're not actually used.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »