install build essential CentOS: sudo yum groupinstall 'Development Tools' Ubuntu: sudo apt-get install build-essential