GCC or GNU compiler collection is used for various programming languages including C, C++, Fortran, Ada, and GO.
In this post, I am going to elaborate you the method of checking the GCC version. I have Ubuntu 20.04 version but this should work on other versions like 22.04 and 18.04.
- GCC compiler is installed on your Ubuntu machine. If not installed, follow this guide.
Checking GCC Version on Ubuntu
You can check the GCC version either by running:
I hope this guide serves the purpose. If not, use the comment section below to get in touch with me.