sudo apt get gcc version code example
Example 1: install gcc in ubuntu
$ sudo apt install build-essential
Example 2: check gcc version in ubuntu
Option 1. Issue command “gcc –version” Example : ...
Option 2. Issue command “gcc -v” ...
$ sudo apt install build-essential
Option 1. Issue command “gcc –version” Example : ...
Option 2. Issue command “gcc -v” ...