Installing GCC

The first step is to get the C compiler, gcc, installed.

Assuming your system uses apt as its package manager, try the following commands to install gcc and prepare your system for C programming:

sudo apt-get install build-essential

Once the install command completes, you should be able to run the following command to find the version of gcc that was installed:

gcc --version