GCC stands for GNU Compiler Collection. As the name implies, it is a set of compilers that are used for compiling C and various other source codes in Linux and other operating systems. You can read more about GCC on their official website.
Here at Ibmi Media, we shall look into the procedure of checking the GCC version in Ubuntu 20.04.
If it is not installed, follow this guide to install it: https://linuxapt.com/blog/12-install-gcc-on-ubuntu
Different ways of checking GCC Version in Ubuntu
1. In order to check the version of GCC installed on your Ubuntu system using this method, issue the following command on terminal:
$ gcc --version
The output returned will show you the version.
2. Run the below command to display the version of gcc installed in the system:
$ gcc -v