Build-essential package is used to make the Debian Packages(dpkg). If we want to make any then first we have to install this package by-
$ sudo apt-get install build-essential
This package contains the informational list of all packages which are considered essential for building Debian packages.This is basically a reference for all packages needed to compile a Debian package.
After it’s installation, install whatever a package specifies as its build-time dependencies to build the package.
Other packages related to build-essential are:
1. dpkg-dev: Debian package development tools
2. g++: The GNU C++ compiler
3. libc6-dev: Embedded GNU C Library: Development Libraries and Header Files
Or libc-dev: Virtual package provided by libc6-dev
4. make: An utility for Directing compilation.