top of page

How to install/Update gcc/g++ in ubntu.

  • Writer: prashant raj
    prashant raj
  • Mar 8, 2021
  • 1 min read

Updated: May 2, 2021


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


Drop Me a Line, Let Me Know What You Think

Thanks for submitting!

© 2023 by Train of Thoughts. Proudly created with Wix.com

bottom of page