gcc version in ubuntu 18.04 code example
Example 1: check gcc version in ubuntu
Option 1. Issue command “gcc –version” Example : ...
Option 2. Issue command “gcc -v” ...
Example 2: gcc 7 install ubuntu
sudo update-alternatives --config gcc
Option 1. Issue command “gcc –version” Example : ...
Option 2. Issue command “gcc -v” ...
sudo update-alternatives --config gcc