Can't Install build-essential on CentOS
I believe this still should work.
sudo yum groupinstall 'Development Tools'
yum install gcc gcc-c++ make
This works equivalent of build-essential
in CentOS.
The metapackage build-essential
is provided on Debian to collect all the commonly required essential build tools in the Debian build chain, including those you need to create .deb
packages. Centos uses a different package manager altogether and does not directly provide anything like this; you'll need to manually install the individual components of the toolchain (gcc
, make
, common development libraries, documentation, etc, as well as of course the tools to create RPM packages if you want to do that).
If you drop the .deb
or RPM stuff, gcc
, gcc-c++
, glibc-devel
, and make
should get the corresponding Centos packages currently.