PPS:Once you are aware that there is a command, in this case "dpkg", you can get information by reading the manual pages. $ man foo, e.g. $ man dpkg. If man pages aren't installed, they are available by the Internet.
http://linuxreviews.org/man/dpkg/