Skip to content

Instantly share code, notes, and snippets.

@gismo141
Last active November 17, 2024 15:49
Show Gist options
  • Save gismo141/10656617 to your computer and use it in GitHub Desktop.
Save gismo141/10656617 to your computer and use it in GitHub Desktop.
Remove all GUI-related Packages from Existing Debian-Installation
apt-get remove -y --purge x11-common
apt-get autoremove -y --purge
apt-get install -y deborphan
deborphan | xargs dpkg -P # do this a bunch of times
@javieitez
Copy link

Looking for this... Thank you!!

@gismo141
Copy link
Author

@eike-fokken and @javieitez you are welcome – I am glad it helped you!

@dmsweetser
Copy link

Most excellent - thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment