Well, in my working domain I face these tools to be installed, so that most of the dependent tools or programs that need to be deployed later don’t face much of dependency issue. So here goes the installation process for both the OS.
On CentOS/RHEL system use the follwoing command (either one of it would work)-
Type the following yum command as root user:
# yum group install "Development Tools"
$ sudo yum group install "Development Tools"
If above command failed, try:
# yum groupinstall "Development Tools"
On Debian or Ubuntu System use following command-
sudo apt update sudo apt install build-essential