remove all GUI-related packages from existing installation.

How do I remove all GUI-related packages from existing installation.
Including Gnome, KDE, X client apps and libraries, X server.

Thanks
Yakov

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: remove all GUI-related packages from existing installation.

dpkg -l '*xserver*'|grep ^ii

That gives you a huge list of packages you can remove. All other GUI related items will also be removed due to dependencies. If you take a little time poking around with the list, you will see there are really maybe only 5 packages which you need to remove and everything else will also be removed. Since my guess is that it will take at least 30 minutes to work out what those key packages are, I leave that job to you.

Another option is to back up all data and customized configuration files, then reinstall Debian, but only install a 'base' system. The only problem of course is that if you run services like Apache, ftp, etc, you need to reinstall and reconfigure all of them.

Syndicate content