



To install gcc compiler in Windows 10 Bash, Open bash and run this command apt-get install gcc If you don't have a enable Ubuntu on Windows check out Stepwise Guide to Enable Windows 10’s Ubuntu Bash Shell (Windows Subsystem for Linux).

You can compile a C program by using the gcc command in Windows 10 Bash on Ubuntu. The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages.
