Debian – How to install Debian package with file extension .deb

debian

I am trying to install a Debian package, but it gives error as "sudo: dpkg: command not found".
I installed SUDO, and it still giving the same error.
I went to the dir where .deb is saved, and ran command as

sudo dkpg -i file.deb

I tried installing the debian support package from "http://packages.debian.org/wheezy/all/dpkg-dev/download", but these files also are in .deb format, so I am unable to install this.

Any suggestions…

Best Answer

As pointed out in the comments, if that's an exact quote of what you're typing to try to install it you're making a typo:

sudo dkpg -i file.deb

won't work, but

sudo dpkg -i file.deb

will.

Spelling is not optional when it comes to the command line.

Related Question