From: David Hare <davidahare@...> Date: Mon, 21 Feb 2011 20:36:07 +0000
To get a tidy package list (you can even pipe such a list to apt for
install/purge and review it first) :
dpkg -l|grep ii|awk '{print $2}' >packages.txt
dpkg -l|grep ii|awk '{print $2}'|grep trinity >trinity.txt
etc