Install Some Basic Tool

Compile and run C code on your personal computer based on your operating system.

No matter which operating system you are using (GNU/Linux, Mac, Windows), you will need at least two things:

  1. A way to edit source code files
  2. A C compiler (& debugger)

GNU/Linux

You have it easy! Most GNU/Linux distributions include a package manager that allows you to quickly and easily install software from centralized, up-to-date repositories.

Compiler

If you are using Ubuntu, just open up a terminal and type the following command to install the tools you need:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy