c++ on linux code example Example: c++ in linux $ sudo apt install g++ $ sudo apt install build-essential $ g++ --version