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