GCC installation on linux unix

In a Linux or UNIX, to check whether GCC is installed on your system  enter the following command in the command line −

If GCC compiler installed on your system, then it should print a message as follows −

If GCC is not installed, then you will have to install it yourself

On ubantu to install GCC write the following command in terminal