TL;DR or "Just scorch my pi" sudo apt-get remove --auto-remove --purge 'libx11-.*' sudo apt-get autoremove --purge (Repeat apt-get autoremove --purge until no orphans remain) Further explanation If a package foo depends on another package libfoo and you remove the libfoo package, the dependent (foo) is also removed. Because Foo has a depends line specifying libfoo, it would be broken to leave foo
