update gcc and g++ ubuntu code example Example: install gcc in ubuntu $ sudo apt install build-essential