Install Build-Essentials for CentOS, RHEL and Ubuntu

Build-essentials is a reference for all packages which are considered essential for building Debian packages. So, if we want to be able to build Debian package,we need to install the build-essential package.

To install the package, we just need to execute below command:

Note that you can issue the same command to install the build-essentials on Ubuntu

There is no “build-essentials” package in CentOS, RHEL. We can install the an equivalent one that need for building the software:

If we need a full build suite for CentOS, RHEL, we can install the Development Tools as below:

Here you can read more detail about the build-essentials.