List the packages currently installed:
dpkg-query -l
Send a list of installed packages to a file:
dpkg-query -l | awk ‘{print $2}’ > /tmp/packages.txt
Remove individual packages:
apt-get remove --purge <package>
Remove a list of packages:
dpkg –P `cat /tmp/packages.txt`
Linux/Debian/Pakete/dpkg Tipps (last modified 2008-11-04 06:59:55)