check the latest version of g++/gcc in linux system.
$g++ --version
Perform the steps below to install the GCC Compiler in Ubuntu System:
Start by updating the packages list:
$sudo apt update
Install and update the g++ version:
$sudo apt-get install g++-6.0
Check the installed g++ version:
$g++ --version
Comments