build-essential contains a list of packages including gcc compiler, make and other required tools.
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
https://help.ubuntu.com/community/InstallingCompilers
How to install the GNU C++ compiler and GNU make