Dpkg
From Linuxhelp Wiki
dpkg is the package manager for Debian GNU/Linux. The package format it uses is called deb and uses a frontend tool called apt-get to ease the installation of packages.
dpkg is available under any system that uses the deb package format. The following is a few basic usage commands:
To install a package:
dpkg -i packagename.deb
To remove a package:
dpkg -r packagename
To query the package database for a specific string:
dpkg -l | grep keyword
To remove the configuration settings for a package:
dpkg -P packagename
To reconfigure an installed package:
dpkg-reconfigure packagename
While using dpkg on the command line can be very quick and efficient, new users are urged to use a frontend like apt-get or synaptic for their package management to ensure stability.
[edit]

