Here is a quick little cheat sheet for using APT in Debian.

Debian Linux apt-get package management cheat sheet