Linux have powerful tool called "Terminal".
From "terminal" we can command the machine.
For any programming language the required tools are editor, compiler and debugger.
Compiler will check the syntax errors and debugger is helpful while debugging/tracing the problem in source code.
The most popular tools in Linux for the above-mentioned are
1)vim - editor (for writing c source code)
2)GCC - compiler ( for compiling c file)
3) GDB - debugger ( tracing the issues in code)
Below are the command for installing these tools
$ sudo apt-get install vim
$sudo apt-get install gcc
$ sudo apt-get install gdb