Skip to content

Instantly share code, notes, and snippets.

@herrbischoff
Created April 8, 2015 20:31
Show Gist options
  • Save herrbischoff/bb6db0896400764aed6d to your computer and use it in GitHub Desktop.
Save herrbischoff/bb6db0896400764aed6d to your computer and use it in GitHub Desktop.
Raspberry Pi Headless Server Cleanup
apt-get install deborphan -y && \
apt-get autoremove --purge libx11-.* lxde-.* raspberrypi-artwork xkb-data omxplayer penguinspuzzle sgml-base xml-core alsa-.* cifs-.* samba-.* fonts-.* desktop-* gnome-.* && \
apt-get autoremove --purge $(deborphan) && \
apt-get autoremove --purge && \
apt-get autoclean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment