install gcc compiler ubuntu 18.04 code example Example: install gcc in ubuntu $ sudo apt install build-essential