Debian/Ubuntu Package management Using dpkg
Dpkg is the Debian package manager dpkg is a medium-level tool to install, build, remove and manage Debian packages. The primary and more user-friendly front-end for dpkg is dselect.dpkg itself is controlled entirely via command line parameters,which consist of exactly one action and zero or more options. The action-parameter tells dpkg what to do and options control the behavior of the action in some way.
Now we will see all the available commands for dpkg with examples:
1)Install a package
dpkg -i <.deb file name>
dpkg -i avg71flm_r28-1_i386.deb
2)Install all packages recursively from a directory