Created
July 22, 2014 19:57
-
-
Save melz/3c7be314ca3927efd88e to your computer and use it in GitHub Desktop.
Run on Debian/Ubuntu/Knoppix to strip down to barebones install.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get purge $(dpkg-query -Wf '${Package;-40}${Essential}${Priority}\n'|awk '$2 ~ /nooptional|noextra/ {print $1}'|grep -v -E 'anacron|busybox|initramfs-tools|insserv|klibc-utils|libklibc|libsemanage-common|libsemanage1|libustr-1.0-1|libuuid-perl|linux-base|linux-image') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment