How Do I Find Gcc Version in Linux?

How Do I Find Gcc Version in Linux?
Contents

If you want to check if the GNU GCC Compilers are install on your system, you can try to check the version of GCC compiler on Linux, or you can use which command to locate gcc or g++ commands . Outputs: [email protected]:~$ gcc –version gcc (Ubuntu 5.4.

How do I know if gcc is installed on Linux?

2 Answers. Very simple. and that will indicate that gcc is installed on your computer. In the Command Prompt window type “gcc” and hit enter.

How do I know which gcc version I have?

How do I find out the version of my GNU gcc compiler that was used by upstream Linux distribution to compile and pack my binary Linux kernel? You need to cat the /proc/version file. This file identifies the kernel version that is currently running and gcc version used to build the kernel.

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.