Linux dpkg Command Tutorial for Beginners – 8 Examples

9747

If you are on a Debian or Debian-based system (like Ubuntu), there are high chances you might have encountered .deb packages. These are Debian packages, and Linux command line offers built-in commands/tools to deal with this kind of packages. One such tool is dpkg, which we will discuss here in this tutorial.

But before we do that, it’s worth mentioning that all examples in this tutorial have been tested on an Ubuntu 16.04LTS machine.

Linux dpkg command

The dpkg tool is basically a package manager for Debian/Debian-based systems. Following is its syntax:

dpkg ACTIONS

Read more at HowToForge