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.
apt-get --assume-no remove libx11.* libqt.*
to see all of the packages that will be removed. – bain Feb 06 '15 at 13:23apt autoremove
will also remove a ton of "unneeded" packages after the purge operation – andrei Dec 01 '18 at 18:26