Automating Package Removal in Debian

This is a quick way to remove packages matching a grep pattern. Use with caution!

This removes all the gimp packages:

apt-get remove --purge `dpkg -l | grep gimp | cut -d ' ' -f 3`


Reply

The content of this field is kept private and will not be shown publicly.