c programming in ubuntu code example Example 1: install c ubuntu sudo apt install build-essential Example 2: execute c program in linuz $ ./programName