How to check the version of gcc in Ubuntu?
To check the GCC version on Ubuntu, you can use the following command:
- Open the terminal.
- Type the following command in the terminal and press enter:
- What is the version of gcc?
- This will display the version information of GCC.
Additionally, you can use the following command to view detailed information about GCC:
dpkg -s gcc | grep Version
This will display version information for the installed GCC software package.