commande gcc linux code example Example 1: install gcc in ubuntu $ sudo apt install build-essential Example 2: gcc info linux gcc -v gcc --version