how to use gcc -on in linux code example Example: install gcc in ubuntu $ sudo apt install build-essential